/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * TambahPegawai.java
 *
 * Created on Jun 19, 2013, 11:38:46 AM
 */
package View;

import Controller.ControlData;
import Model.*;
import TableModel.TampilAnggotaKeluarga;
import java.awt.Color;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;

/**
 *
 * @author a9uszT
 */
public class TambahPegawai extends javax.swing.JFrame {

    PNS pegawai = new PNS("-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-");
    AnggotaKeluarga ak;
    String idSuratkk;

    /**
     * Creates new form TambahPegawai
     */
    public TambahPegawai() {
        initComponents();
        DU_Simpan_button.setEnabled(false);
        DU_next_button.setEnabled(false);
        Tab_PNS.setEnabledAt(1, false);
        Tab_PNS.setEnabledAt(2, false);
        Tab_PNS.setEnabledAt(3, false);
        Tab_PNS.setEnabledAt(4, false);
        Tab_PNS.setEnabledAt(5, false);
        Tab_PNS.setEnabledAt(6, false);
        Tab_PNS.setEnabledAt(7, false);
        KK_Internal.setVisible(false);
        KK_TambahAnggota_button.setEnabled(false);
        AK_Pekerjaan_TF.setEditable(false);
        Clock clock = new Clock();
        clock.showDigitalClock(time);
        PT_GolBr_TF.setEditable(false);
        tmt_bkrja_next.setEnabled(false);
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        KK_Internal = new javax.swing.JInternalFrame();
        jPanel4 = new javax.swing.JPanel();
        jLabel9 = new javax.swing.JLabel();
        jPanel5 = new javax.swing.JPanel();
        jLabel18 = new javax.swing.JLabel();
        jLabel25 = new javax.swing.JLabel();
        jLabel26 = new javax.swing.JLabel();
        jLabel29 = new javax.swing.JLabel();
        jLabel30 = new javax.swing.JLabel();
        jLabel37 = new javax.swing.JLabel();
        jLabel38 = new javax.swing.JLabel();
        jLabel50 = new javax.swing.JLabel();
        jLabel87 = new javax.swing.JLabel();
        jLabel88 = new javax.swing.JLabel();
        jLabel89 = new javax.swing.JLabel();
        jLabel90 = new javax.swing.JLabel();
        jLabel91 = new javax.swing.JLabel();
        jLabel92 = new javax.swing.JLabel();
        AK_Batal_button = new javax.swing.JButton();
        AK_Simpan_button = new javax.swing.JButton();
        AK_Nama_TF = new javax.swing.JTextField();
        AK_NIK_TF = new javax.swing.JTextField();
        AK_TempatLahir_TF = new javax.swing.JTextField();
        AK_JK_Combo = new javax.swing.JComboBox();
        AK_TanggalLahir_Date = new com.toedter.calendar.JDateChooser();
        AK_NoPaspor_TF = new javax.swing.JTextField();
        AK_NamaAyah_TF = new javax.swing.JTextField();
        AK_NamaIbu_TF = new javax.swing.JTextField();
        AK_Agama_Combo = new javax.swing.JComboBox();
        AK_Pendidikan_Combo = new javax.swing.JComboBox();
        AK_Pekerjaan_Combo = new javax.swing.JComboBox();
        AK_StatusKawin_Combo = new javax.swing.JComboBox();
        AK_HubKeluarga_Combo = new javax.swing.JComboBox();
        AK_Kewarganegaraan_Combo = new javax.swing.JComboBox();
        AK_Pekerjaan_TF = new javax.swing.JTextField();
        AK_NoKitasKitap_TF = new javax.swing.JTextField();
        jLabel93 = new javax.swing.JLabel();
        jLabel104 = new javax.swing.JLabel();
        jLabel103 = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        jPanel2 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jPanel3 = new javax.swing.JPanel();
        jLabel2 = new javax.swing.JLabel();
        Tab_PNS = new javax.swing.JTabbedPane();
        DU = new javax.swing.JPanel();
        nip_br = new javax.swing.JLabel();
        nama = new javax.swing.JLabel();
        Alamat = new javax.swing.JLabel();
        DU_NipBaru_TF = new javax.swing.JTextField();
        DU_Nama_TF = new javax.swing.JTextField();
        DU_next_button = new javax.swing.JButton();
        DU_Simpan_button = new javax.swing.JButton();
        nip_br1 = new javax.swing.JLabel();
        DU_NipLama_TF = new javax.swing.JTextField();
        DU_KabKota_TF = new javax.swing.JTextField();
        DU_RT_TF = new javax.swing.JTextField();
        Alamat1 = new javax.swing.JLabel();
        Alamat2 = new javax.swing.JLabel();
        DU_Dukuh_TF = new javax.swing.JTextField();
        Alamat3 = new javax.swing.JLabel();
        DU_RW_TF = new javax.swing.JTextField();
        Alamat4 = new javax.swing.JLabel();
        Alamat5 = new javax.swing.JLabel();
        DU_Kecamatan_TF = new javax.swing.JTextField();
        DU_Desa_TF = new javax.swing.JTextField();
        Alamat6 = new javax.swing.JLabel();
        DU_TglLhr_Date = new com.toedter.calendar.JDateChooser();
        Alamat7 = new javax.swing.JLabel();
        DU_TmptLhr_Date = new javax.swing.JTextField();
        jLabel74 = new javax.swing.JLabel();
        DU_JenisKelamin_CB = new javax.swing.JComboBox();
        Alamat8 = new javax.swing.JLabel();
        DU_StatusHub_CB = new javax.swing.JComboBox();
        Alamat9 = new javax.swing.JLabel();
        Alamat10 = new javax.swing.JLabel();
        DU_jalan_TF = new javax.swing.JTextField();
        DU_Alamat_TF = new javax.swing.JTextField();
        jLabel96 = new javax.swing.JLabel();
        SK_CPNS = new javax.swing.JPanel();
        CPNS_simpan_button = new javax.swing.JButton();
        CPNS_next_button = new javax.swing.JButton();
        jLabel3 = new javax.swing.JLabel();
        CPNS_TmpBuatSurat_TF = new javax.swing.JTextField();
        jLabel4 = new javax.swing.JLabel();
        CPNS_TMT_cpns = new com.toedter.calendar.JDateChooser();
        CPNS_NoSurat_TF = new javax.swing.JTextField();
        CPNS_nama_TF = new javax.swing.JTextField();
        jLabel6 = new javax.swing.JLabel();
        CPNS_TmpLhr_TF = new javax.swing.JTextField();
        jLabel7 = new javax.swing.JLabel();
        CPNS_TglSurat_Date = new com.toedter.calendar.JDateChooser();
        CPNS_Profesi_TF = new javax.swing.JTextField();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        CPNS_NipBaru_TF = new javax.swing.JTextField();
        CPNS_NipLama_TF = new javax.swing.JTextField();
        jLabel14 = new javax.swing.JLabel();
        CPNS_TglLhr_Date = new com.toedter.calendar.JDateChooser();
        jLabel49 = new javax.swing.JLabel();
        CPNS_Sekolah_TF = new javax.swing.JTextField();
        jLabel65 = new javax.swing.JLabel();
        CPNS_MasaKerjaBulan_TF = new javax.swing.JTextField();
        jLabel68 = new javax.swing.JLabel();
        jLabel69 = new javax.swing.JLabel();
        CPNS_MasaKerjaTahun_TF = new javax.swing.JTextField();
        jLabel70 = new javax.swing.JLabel();
        jLabel71 = new javax.swing.JLabel();
        CPNS_Berijazah_TF = new javax.swing.JTextField();
        jLabel73 = new javax.swing.JLabel();
        combo_sk_cpns_golongan = new javax.swing.JComboBox();
        jLabel97 = new javax.swing.JLabel();
        SK_PangkatTerakhir = new javax.swing.JPanel();
        jLabel15 = new javax.swing.JLabel();
        PT_Nama_TF = new javax.swing.JTextField();
        jLabel16 = new javax.swing.JLabel();
        jLabel19 = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        jLabel22 = new javax.swing.JLabel();
        PT_Pend_TF = new javax.swing.JTextField();
        PT_TglLhr_Date = new com.toedter.calendar.JDateChooser();
        PT_TmpLhr_TF = new javax.swing.JTextField();
        PT_NipBaru_TF = new javax.swing.JTextField();
        jLabel23 = new javax.swing.JLabel();
        jLabel24 = new javax.swing.JLabel();
        PT_NipLama_TF = new javax.swing.JTextField();
        PT_simpan_button = new javax.swing.JButton();
        PT_next_button = new javax.swing.JButton();
        PT_NoSurat_TF = new javax.swing.JTextField();
        jLabel28 = new javax.swing.JLabel();
        PT_GolBr_TF = new javax.swing.JTextField();
        PT_TmtBr_TF = new com.toedter.calendar.JDateChooser();
        jLabel31 = new javax.swing.JLabel();
        jLabel32 = new javax.swing.JLabel();
        PT_MsKerjaGolBln_TF = new javax.swing.JTextField();
        PT_GajiPokok_TF = new javax.swing.JTextField();
        jLabel33 = new javax.swing.JLabel();
        jLabel76 = new javax.swing.JLabel();
        jLabel77 = new javax.swing.JLabel();
        PT_MsKerjaGolThn_TF = new javax.swing.JTextField();
        jLabel78 = new javax.swing.JLabel();
        PT_Profesi_TF = new javax.swing.JTextField();
        jLabel20 = new javax.swing.JLabel();
        PT_Sekolah_TF = new javax.swing.JTextField();
        combo_sk_pangkat_terakhir_pangkatBaru = new javax.swing.JComboBox();
        jLabel105 = new javax.swing.JLabel();
        jLabel98 = new javax.swing.JLabel();
        SPTKG_Terakhir = new javax.swing.JPanel();
        jLabel17 = new javax.swing.JLabel();
        jLabel34 = new javax.swing.JLabel();
        jLabel35 = new javax.swing.JLabel();
        SPTKG_Nama_TF = new javax.swing.JTextField();
        SPTKG_TmpSurat_TF = new javax.swing.JTextField();
        SPTKG_TglSurat_TF = new com.toedter.calendar.JDateChooser();
        SPTKG_NoSurat_TF = new javax.swing.JTextField();
        jLabel42 = new javax.swing.JLabel();
        SPTKG_NipLama_TF = new javax.swing.JTextField();
        SPTKG_NipBaru_TF = new javax.swing.JTextField();
        jLabel43 = new javax.swing.JLabel();
        SPTKG_simpan_button = new javax.swing.JButton();
        SPTKG_next_button = new javax.swing.JButton();
        jLabel36 = new javax.swing.JLabel();
        SPTKG_GolBr_TF = new javax.swing.JTextField();
        jLabel39 = new javax.swing.JLabel();
        SPTKG_Sekolah_TF = new javax.swing.JTextField();
        SPTKG_GajiLama_TF = new javax.swing.JTextField();
        jLabel40 = new javax.swing.JLabel();
        jLabel41 = new javax.swing.JLabel();
        SPTKG_GajiBaru_TF = new javax.swing.JTextField();
        SPTKG_TmtBr_TF = new com.toedter.calendar.JDateChooser();
        jLabel44 = new javax.swing.JLabel();
        jLabel80 = new javax.swing.JLabel();
        jLabel81 = new javax.swing.JLabel();
        jLabel82 = new javax.swing.JLabel();
        jLabel83 = new javax.swing.JLabel();
        jLabel84 = new javax.swing.JLabel();
        sptkg_pangkat_br = new javax.swing.JComboBox();
        jLabel99 = new javax.swing.JLabel();
        tempat_bekerja = new javax.swing.JPanel();
        jLabel107 = new javax.swing.JLabel();
        jLabel66 = new javax.swing.JLabel();
        tmt_bkrja_no_instansi = new javax.swing.JTextField();
        tmt_bkrja_nama_kepala = new javax.swing.JTextField();
        jLabel67 = new javax.swing.JLabel();
        jLabel72 = new javax.swing.JLabel();
        tmt_bkrja_nip_kepala = new javax.swing.JTextField();
        tmt_bkrja_nip_peg = new javax.swing.JTextField();
        jLabel75 = new javax.swing.JLabel();
        jLabel79 = new javax.swing.JLabel();
        tmt_bkrja_nama_peg = new javax.swing.JTextField();
        tmt_bkrja_simpan = new javax.swing.JButton();
        tmt_bkrja_next = new javax.swing.JButton();
        jLabel108 = new javax.swing.JLabel();
        tmt_bkrja_nm_instansi = new javax.swing.JTextField();
        jLabel109 = new javax.swing.JLabel();
        tmt_bekerja_pangkat = new javax.swing.JComboBox();
        tmt_bekerja_golongan = new javax.swing.JTextField();
        jLabel106 = new javax.swing.JLabel();
        SK_Karpeg = new javax.swing.JPanel();
        jLabel45 = new javax.swing.JLabel();
        Karpeg_Nama_TF = new javax.swing.JTextField();
        jLabel46 = new javax.swing.JLabel();
        jLabel48 = new javax.swing.JLabel();
        Karpeg_TMT_Date = new com.toedter.calendar.JDateChooser();
        Karpeg_NipBaru_TF = new javax.swing.JTextField();
        jLabel51 = new javax.swing.JLabel();
        jLabel52 = new javax.swing.JLabel();
        Karpeg_NipLama_TF = new javax.swing.JTextField();
        Karpeg_simpan_button = new javax.swing.JButton();
        Karpeg_next_button = new javax.swing.JButton();
        Karpeg_NoSurat_TF = new javax.swing.JTextField();
        Karpeg_TglLhr_Date = new com.toedter.calendar.JDateChooser();
        jLabel85 = new javax.swing.JLabel();
        jLabel86 = new javax.swing.JLabel();
        jLabel100 = new javax.swing.JLabel();
        Surat_Nikah = new javax.swing.JPanel();
        jLabel47 = new javax.swing.JLabel();
        SN_NoSurat_TF = new javax.swing.JTextField();
        SN_NamaSuami_TF = new javax.swing.JTextField();
        SN_NamaIstri_TF = new javax.swing.JTextField();
        jLabel53 = new javax.swing.JLabel();
        jLabel54 = new javax.swing.JLabel();
        jLabel55 = new javax.swing.JLabel();
        SN_TglNikah_Date = new com.toedter.calendar.JDateChooser();
        SN_simpan_button = new javax.swing.JButton();
        SN_next_button = new javax.swing.JButton();
        jLabel94 = new javax.swing.JLabel();
        jLabel101 = new javax.swing.JLabel();
        KK = new javax.swing.JPanel();
        jScrollPane2 = new javax.swing.JScrollPane();
        jPanel8 = new javax.swing.JPanel();
        jLabel56 = new javax.swing.JLabel();
        KK_NamaKK_TF = new javax.swing.JTextField();
        KK_Alamat_TF = new javax.swing.JTextField();
        KK_RT_TF = new javax.swing.JTextField();
        KK_RW_TF = new javax.swing.JTextField();
        KK_KelDesa_TF = new javax.swing.JTextField();
        jLabel60 = new javax.swing.JLabel();
        jLabel58 = new javax.swing.JLabel();
        jLabel57 = new javax.swing.JLabel();
        jLabel61 = new javax.swing.JLabel();
        jLabel62 = new javax.swing.JLabel();
        jLabel64 = new javax.swing.JLabel();
        jLabel63 = new javax.swing.JLabel();
        KK_Provinsi_TF = new javax.swing.JTextField();
        KK_KodePos_TF = new javax.swing.JTextField();
        KK_KabKota_TF = new javax.swing.JTextField();
        KK_Kec_TF = new javax.swing.JTextField();
        jLabel59 = new javax.swing.JLabel();
        KK_NoKK_TF = new javax.swing.JTextField();
        jScrollPane3 = new javax.swing.JScrollPane();
        KK_TabelAnggotaKel_Table = new javax.swing.JTable();
        KK_SimpanKK_button = new javax.swing.JButton();
        KK_TambahAnggota_button = new javax.swing.JButton();
        jLabel102 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        TP_Kode_Label = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        TP_Nama_Label = new javax.swing.JLabel();
        time = new javax.swing.JLabel();
        jButton1 = new javax.swing.JButton();
        jLabel95 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        KK_Internal.setTitle("Tambah Anggota Keluarga");
        KK_Internal.getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jPanel4.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel9.setFont(new java.awt.Font("Tahoma", 1, 12));
        jLabel9.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel9.setText("FORM PENGISIAN TABEL KK");
        jLabel9.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        jPanel4.add(jLabel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 11, 740, 24));

        jPanel5.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        jPanel5.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel18.setText("Nama Lengkap");
        jPanel5.add(jLabel18, new org.netbeans.lib.awtextra.AbsoluteConstraints(11, 15, -1, -1));

        jLabel25.setText("NIK");
        jPanel5.add(jLabel25, new org.netbeans.lib.awtextra.AbsoluteConstraints(11, 41, -1, -1));

        jLabel26.setText("Jenis Kelamin");
        jPanel5.add(jLabel26, new org.netbeans.lib.awtextra.AbsoluteConstraints(11, 67, -1, -1));

        jLabel29.setText("Tempat Lahir");
        jPanel5.add(jLabel29, new org.netbeans.lib.awtextra.AbsoluteConstraints(11, 93, -1, -1));

        jLabel30.setText("Tanggal Lahir");
        jPanel5.add(jLabel30, new org.netbeans.lib.awtextra.AbsoluteConstraints(11, 116, -1, -1));

        jLabel37.setText("Agama");
        jPanel5.add(jLabel37, new org.netbeans.lib.awtextra.AbsoluteConstraints(11, 142, -1, -1));

        jLabel38.setText("Pendidikan");
        jPanel5.add(jLabel38, new org.netbeans.lib.awtextra.AbsoluteConstraints(11, 176, -1, -1));

        jLabel50.setText("Pekerjaan");
        jPanel5.add(jLabel50, new org.netbeans.lib.awtextra.AbsoluteConstraints(11, 202, -1, -1));

        jLabel87.setText("Status Perkawinan");
        jPanel5.add(jLabel87, new org.netbeans.lib.awtextra.AbsoluteConstraints(11, 230, -1, -1));

        jLabel88.setText("Hubungan Keluarga");
        jPanel5.add(jLabel88, new org.netbeans.lib.awtextra.AbsoluteConstraints(393, 15, -1, -1));

        jLabel89.setText("Kewarganegaraan");
        jPanel5.add(jLabel89, new org.netbeans.lib.awtextra.AbsoluteConstraints(393, 41, -1, -1));

        jLabel90.setText("No Paspor");
        jPanel5.add(jLabel90, new org.netbeans.lib.awtextra.AbsoluteConstraints(393, 67, -1, -1));

        jLabel91.setText("Nama Ayah");
        jPanel5.add(jLabel91, new org.netbeans.lib.awtextra.AbsoluteConstraints(393, 119, -1, -1));

        jLabel92.setText("Nama Ibu");
        jPanel5.add(jLabel92, new org.netbeans.lib.awtextra.AbsoluteConstraints(393, 145, -1, -1));

        AK_Batal_button.setText("BATAL");
        AK_Batal_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                AK_Batal_buttonActionPerformed(evt);
            }
        });
        jPanel5.add(AK_Batal_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(519, 198, -1, -1));

        AK_Simpan_button.setText("SIMPAN");
        AK_Simpan_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                AK_Simpan_buttonActionPerformed(evt);
            }
        });
        jPanel5.add(AK_Simpan_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(430, 198, -1, -1));
        jPanel5.add(AK_Nama_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(125, 12, 182, -1));
        jPanel5.add(AK_NIK_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(125, 38, 182, -1));
        jPanel5.add(AK_TempatLahir_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(125, 90, 182, -1));

        AK_JK_Combo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "L", "P" }));
        jPanel5.add(AK_JK_Combo, new org.netbeans.lib.awtextra.AbsoluteConstraints(125, 64, -1, -1));
        jPanel5.add(AK_TanggalLahir_Date, new org.netbeans.lib.awtextra.AbsoluteConstraints(125, 116, 123, -1));

        AK_NoPaspor_TF.setText("-");
        jPanel5.add(AK_NoPaspor_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(505, 64, 182, -1));
        jPanel5.add(AK_NamaAyah_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(505, 116, 182, -1));
        jPanel5.add(AK_NamaIbu_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(505, 142, 182, -1));

        AK_Agama_Combo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "ISLAM", "KRISTEN", "KATOLIK", "HINDU", "BUDHA", "KHONGHUCU" }));
        jPanel5.add(AK_Agama_Combo, new org.netbeans.lib.awtextra.AbsoluteConstraints(125, 142, -1, -1));

        AK_Pendidikan_Combo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "TIDAK/BLM SEKOLAH", "TK/SEDERAJAT", "SD/SEDERAJAT", "SLTP/SEDERAJAT", "SLTA/SEDERAJAT", "DIPLOMA III", "DIPLOMA IV/STRATA I", "TIDAK TAMAT TK/SEDERAJAT", "TIDAK TAMAT SD/SEDERAJAT", "TIDAK TAMAT SLTP/SEDERAJAT", "TIDAK TAMAT SLTA/SEDERAJAT" }));
        jPanel5.add(AK_Pendidikan_Combo, new org.netbeans.lib.awtextra.AbsoluteConstraints(125, 173, -1, -1));

        AK_Pekerjaan_Combo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "PEGAWAI NEGRI SIPIL", "KARYAWAN SWASTA", "MENGURUS RUMAH TANGGA", "PELAJAR/MAHASISWA", "WIRASWASTA", "Lainnya..." }));
        AK_Pekerjaan_Combo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                AK_Pekerjaan_ComboActionPerformed(evt);
            }
        });
        jPanel5.add(AK_Pekerjaan_Combo, new org.netbeans.lib.awtextra.AbsoluteConstraints(125, 199, 134, -1));

        AK_StatusKawin_Combo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "KAWIN", "BELUM KAWIN" }));
        jPanel5.add(AK_StatusKawin_Combo, new org.netbeans.lib.awtextra.AbsoluteConstraints(125, 227, -1, -1));

        AK_HubKeluarga_Combo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "SUAMI", "ISTRI", "ANAK KANDUNG", "ANAK ANGKAT", "ANAK TIRI", "SAUDARA" }));
        jPanel5.add(AK_HubKeluarga_Combo, new org.netbeans.lib.awtextra.AbsoluteConstraints(505, 12, -1, -1));

        AK_Kewarganegaraan_Combo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "WNI", "WNA" }));
        jPanel5.add(AK_Kewarganegaraan_Combo, new org.netbeans.lib.awtextra.AbsoluteConstraints(505, 38, -1, -1));

        AK_Pekerjaan_TF.setText("-");
        jPanel5.add(AK_Pekerjaan_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(265, 199, 118, -1));

        AK_NoKitasKitap_TF.setText("-");
        jPanel5.add(AK_NoKitasKitap_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(505, 90, 182, -1));

        jLabel93.setText("No Kitas/Kitap");
        jPanel5.add(jLabel93, new org.netbeans.lib.awtextra.AbsoluteConstraints(393, 93, -1, -1));

        jLabel104.setIcon(new javax.swing.ImageIcon(getClass().getResource("/PIcture/bg1.png"))); // NOI18N
        jPanel5.add(jLabel104, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 740, 280));

        jPanel4.add(jPanel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 41, 740, 280));

        jLabel103.setIcon(new javax.swing.ImageIcon(getClass().getResource("/PIcture/bg1.png"))); // NOI18N
        jPanel4.add(jLabel103, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 760, 330));

        KK_Internal.getContentPane().add(jPanel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 760, -1));

        getContentPane().add(KK_Internal, new org.netbeans.lib.awtextra.AbsoluteConstraints(44, 160, -1, 380));

        jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jPanel2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/PIcture/header2.jpg"))); // NOI18N
        jLabel1.setText("jLabel1");

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 867, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel1)
        );

        jPanel1.add(jPanel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, -1));

        getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 870, 180));

        jPanel3.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel2.setFont(new java.awt.Font("Tahoma", 1, 24));
        jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel2.setText("Tambah PNS");
        jPanel3.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(325, 50, 200, -1));

        DU.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        DU.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        nip_br.setFont(new java.awt.Font("Tahoma", 1, 14));
        nip_br.setText("NIP Baru");
        DU.add(nip_br, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 80, -1, -1));

        nama.setFont(new java.awt.Font("Tahoma", 1, 14));
        nama.setText("Nama");
        DU.add(nama, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 110, -1, -1));

        Alamat.setFont(new java.awt.Font("Tahoma", 1, 14));
        Alamat.setText("RT");
        DU.add(Alamat, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 110, -1, -1));

        DU_NipBaru_TF.setFont(new java.awt.Font("Tahoma", 0, 12));
        DU_NipBaru_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                DU_NipBaru_TFKeyPressed(evt);
            }
            public void keyReleased(java.awt.event.KeyEvent evt) {
                DU_NipBaru_TFKeyReleased(evt);
            }
        });
        DU.add(DU_NipBaru_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 80, 230, -1));

        DU_Nama_TF.setFont(new java.awt.Font("Tahoma", 0, 12));
        DU_Nama_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                DU_Nama_TFKeyReleased(evt);
            }
        });
        DU.add(DU_Nama_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 110, 320, -1));

        DU_next_button.setFont(new java.awt.Font("Tahoma", 1, 14));
        DU_next_button.setText("Next");
        DU_next_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                DU_next_buttonActionPerformed(evt);
            }
        });
        DU.add(DU_next_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 320, -1, -1));

        DU_Simpan_button.setFont(new java.awt.Font("Tahoma", 1, 14));
        DU_Simpan_button.setText("Simpan");
        DU_Simpan_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                DU_Simpan_buttonActionPerformed(evt);
            }
        });
        DU.add(DU_Simpan_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 320, -1, -1));

        nip_br1.setFont(new java.awt.Font("Tahoma", 1, 14));
        nip_br1.setText("NIP Lama");
        DU.add(nip_br1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 50, -1, -1));

        DU_NipLama_TF.setFont(new java.awt.Font("Tahoma", 0, 12));
        DU_NipLama_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                DU_NipLama_TFKeyPressed(evt);
            }
            public void keyReleased(java.awt.event.KeyEvent evt) {
                DU_NipLama_TFKeyReleased(evt);
            }
        });
        DU.add(DU_NipLama_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 50, 190, -1));

        DU_KabKota_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                DU_KabKota_TFKeyPressed(evt);
            }
        });
        DU.add(DU_KabKota_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 200, 200, -1));

        DU_RT_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                DU_RT_TFKeyReleased(evt);
            }
        });
        DU.add(DU_RT_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(650, 110, 50, 20));

        Alamat1.setFont(new java.awt.Font("Tahoma", 1, 14));
        Alamat1.setText("Jenis Kelamin");
        DU.add(Alamat1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 170, 100, -1));

        Alamat2.setFont(new java.awt.Font("Tahoma", 1, 14));
        Alamat2.setText("Kabupaten / Kota");
        DU.add(Alamat2, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 200, -1, -1));

        DU_Dukuh_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                DU_Dukuh_TFKeyReleased(evt);
            }
        });
        DU.add(DU_Dukuh_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 80, 200, -1));

        Alamat3.setFont(new java.awt.Font("Tahoma", 1, 14));
        Alamat3.setText("RW");
        DU.add(Alamat3, new org.netbeans.lib.awtextra.AbsoluteConstraints(710, 110, -1, -1));

        DU_RW_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                DU_RW_TFKeyReleased(evt);
            }
        });
        DU.add(DU_RW_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(750, 110, 60, -1));

        Alamat4.setFont(new java.awt.Font("Tahoma", 1, 14));
        Alamat4.setText("Nama Jalan");
        DU.add(Alamat4, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 50, -1, -1));

        Alamat5.setFont(new java.awt.Font("Tahoma", 1, 14));
        Alamat5.setText("Desa");
        DU.add(Alamat5, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 140, -1, -1));

        DU_Kecamatan_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                DU_Kecamatan_TFKeyReleased(evt);
            }
        });
        DU.add(DU_Kecamatan_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 170, 200, -1));

        DU_Desa_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                DU_Desa_TFKeyReleased(evt);
            }
        });
        DU.add(DU_Desa_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 140, 200, -1));

        Alamat6.setFont(new java.awt.Font("Tahoma", 1, 14));
        Alamat6.setText("Kecamatan");
        DU.add(Alamat6, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 170, -1, -1));
        DU.add(DU_TglLhr_Date, new org.netbeans.lib.awtextra.AbsoluteConstraints(310, 140, 110, -1));

        Alamat7.setFont(new java.awt.Font("Tahoma", 1, 14));
        Alamat7.setText("Status Hub");
        DU.add(Alamat7, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 200, -1, -1));
        DU.add(DU_TmptLhr_Date, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 140, 140, -1));

        jLabel74.setFont(new java.awt.Font("Tahoma", 1, 18));
        jLabel74.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel74.setText("DATA UTAMA");
        DU.add(jLabel74, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 10, 840, 30));

        DU_JenisKelamin_CB.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "L", "P" }));
        DU.add(DU_JenisKelamin_CB, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 170, -1, -1));

        Alamat8.setFont(new java.awt.Font("Tahoma", 1, 14));
        Alamat8.setText("Alamat Lengkap");
        DU.add(Alamat8, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 230, -1, -1));

        DU_StatusHub_CB.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "NIKAH", "BELUM NIKAH", "JANDA", "DUDA" }));
        DU_StatusHub_CB.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                DU_StatusHub_CBActionPerformed(evt);
            }
        });
        DU.add(DU_StatusHub_CB, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 200, 180, -1));

        Alamat9.setFont(new java.awt.Font("Tahoma", 1, 14));
        Alamat9.setText("Tempat / Tgl Lahir");
        DU.add(Alamat9, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 140, -1, -1));

        Alamat10.setFont(new java.awt.Font("Tahoma", 1, 14));
        Alamat10.setText("Dukuh");
        DU.add(Alamat10, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 80, -1, -1));

        DU_jalan_TF.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                DU_jalan_TFActionPerformed(evt);
            }
        });
        DU.add(DU_jalan_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 50, 200, -1));

        DU_Alamat_TF.setEditable(false);
        DU.add(DU_Alamat_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 230, 230, -1));

        jLabel96.setIcon(new javax.swing.ImageIcon(getClass().getResource("/PIcture/wall2.jpg"))); // NOI18N
        DU.add(jLabel96, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 860, 370));

        Tab_PNS.addTab("Data Utama", DU);

        SK_CPNS.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED));
        SK_CPNS.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        CPNS_simpan_button.setFont(new java.awt.Font("Tahoma", 1, 14));
        CPNS_simpan_button.setText("Simpan");
        CPNS_simpan_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CPNS_simpan_buttonActionPerformed(evt);
            }
        });
        SK_CPNS.add(CPNS_simpan_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(510, 260, -1, -1));

        CPNS_next_button.setFont(new java.awt.Font("Tahoma", 1, 14));
        CPNS_next_button.setText("Next");
        CPNS_next_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CPNS_next_buttonActionPerformed(evt);
            }
        });
        SK_CPNS.add(CPNS_next_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 260, -1, -1));

        jLabel3.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel3.setText("Nomor Surat");
        SK_CPNS.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 50, -1, -1));
        SK_CPNS.add(CPNS_TmpBuatSurat_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 80, 110, -1));

        jLabel4.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel4.setText("Tempat ,Tanggal Surat");
        SK_CPNS.add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 80, -1, -1));

        CPNS_TMT_cpns.setDateFormatString("d MMM yyyy");
        SK_CPNS.add(CPNS_TMT_cpns, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 230, 170, -1));
        SK_CPNS.add(CPNS_NoSurat_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 50, 230, -1));

        CPNS_nama_TF.setEditable(false);
        SK_CPNS.add(CPNS_nama_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 110, 230, -1));

        jLabel6.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel6.setText("Nama");
        SK_CPNS.add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 110, -1, -1));
        SK_CPNS.add(CPNS_TmpLhr_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 140, 110, -1));

        jLabel7.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel7.setText("Tempat, Tanggal Lahir");
        SK_CPNS.add(jLabel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 140, -1, -1));

        CPNS_TglSurat_Date.setDateFormatString("d MMM yyyy");
        SK_CPNS.add(CPNS_TglSurat_Date, new org.netbeans.lib.awtextra.AbsoluteConstraints(300, 80, 110, -1));
        SK_CPNS.add(CPNS_Profesi_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 170, 230, -1));

        jLabel11.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel11.setText("Profesi/Jabatan");
        SK_CPNS.add(jLabel11, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 170, -1, -1));

        jLabel12.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel12.setText("Bulan");
        SK_CPNS.add(jLabel12, new org.netbeans.lib.awtextra.AbsoluteConstraints(730, 50, 50, 20));

        jLabel13.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel13.setText("TMT CPNS");
        SK_CPNS.add(jLabel13, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 230, -1, -1));

        CPNS_NipBaru_TF.setEditable(false);
        SK_CPNS.add(CPNS_NipBaru_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(580, 140, 250, -1));

        CPNS_NipLama_TF.setEditable(false);
        SK_CPNS.add(CPNS_NipLama_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(580, 110, 150, -1));

        jLabel14.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel14.setText("NIP Lama");
        SK_CPNS.add(jLabel14, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 110, -1, -1));

        CPNS_TglLhr_Date.setDateFormatString("d MMM yyyy");
        SK_CPNS.add(CPNS_TglLhr_Date, new org.netbeans.lib.awtextra.AbsoluteConstraints(300, 140, 110, -1));

        jLabel49.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel49.setText("Sekolah/Instansi");
        SK_CPNS.add(jLabel49, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 200, -1, -1));
        SK_CPNS.add(CPNS_Sekolah_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 200, 230, -1));

        jLabel65.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel65.setText("Golongan");
        SK_CPNS.add(jLabel65, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 80, -1, 20));

        CPNS_MasaKerjaBulan_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                CPNS_MasaKerjaBulan_TFKeyReleased(evt);
            }
        });
        SK_CPNS.add(CPNS_MasaKerjaBulan_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(680, 50, 40, -1));

        jLabel68.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel68.setText("Tahun");
        SK_CPNS.add(jLabel68, new org.netbeans.lib.awtextra.AbsoluteConstraints(630, 50, 50, 20));

        jLabel69.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel69.setText("Masa Kerja");
        SK_CPNS.add(jLabel69, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 50, -1, 20));

        CPNS_MasaKerjaTahun_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                CPNS_MasaKerjaTahun_TFKeyReleased(evt);
            }
        });
        SK_CPNS.add(CPNS_MasaKerjaTahun_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(580, 50, 40, -1));

        jLabel70.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel70.setText("NIP baru");
        SK_CPNS.add(jLabel70, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 140, -1, -1));

        jLabel71.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel71.setText("Berijazah");
        SK_CPNS.add(jLabel71, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 170, -1, -1));
        SK_CPNS.add(CPNS_Berijazah_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(580, 170, 250, -1));

        jLabel73.setFont(new java.awt.Font("Tahoma", 1, 18));
        jLabel73.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel73.setText("SK CPNS");
        SK_CPNS.add(jLabel73, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 10, 840, 30));

        combo_sk_cpns_golongan.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "II /A", "II /B", "II /C", "II /D", "III/A", "III/B", "III/C", "III/D", "IV /A", "IV /B", "IV /C", "IV /D", "IV /E" }));
        combo_sk_cpns_golongan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                combo_sk_cpns_golonganActionPerformed(evt);
            }
        });
        SK_CPNS.add(combo_sk_cpns_golongan, new org.netbeans.lib.awtextra.AbsoluteConstraints(580, 80, 90, -1));

        jLabel97.setIcon(new javax.swing.ImageIcon(getClass().getResource("/PIcture/wall2.jpg"))); // NOI18N
        SK_CPNS.add(jLabel97, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 860, 370));

        Tab_PNS.addTab("SK_CPNS", SK_CPNS);

        SK_PangkatTerakhir.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel15.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel15.setText("Nomor Surat");
        SK_PangkatTerakhir.add(jLabel15, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 50, -1, -1));

        PT_Nama_TF.setEditable(false);
        SK_PangkatTerakhir.add(PT_Nama_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 80, 230, -1));

        jLabel16.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel16.setText("Nama");
        SK_PangkatTerakhir.add(jLabel16, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 80, -1, -1));

        jLabel19.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel19.setText("Tempat, Tgl Lahir");
        SK_PangkatTerakhir.add(jLabel19, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 110, -1, -1));

        jLabel21.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel21.setText("Pendidikan");
        SK_PangkatTerakhir.add(jLabel21, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 200, -1, -1));

        jLabel22.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel22.setText("Sekolah/Instansi");
        SK_PangkatTerakhir.add(jLabel22, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 260, -1, -1));
        SK_PangkatTerakhir.add(PT_Pend_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 200, 120, -1));

        PT_TglLhr_Date.setDateFormatString("d MMM yyyy");
        SK_PangkatTerakhir.add(PT_TglLhr_Date, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 110, 120, -1));
        SK_PangkatTerakhir.add(PT_TmpLhr_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 110, 100, -1));

        PT_NipBaru_TF.setEditable(false);
        SK_PangkatTerakhir.add(PT_NipBaru_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 170, 230, -1));

        jLabel23.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel23.setText("NIP baru");
        SK_PangkatTerakhir.add(jLabel23, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 170, -1, -1));

        jLabel24.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel24.setText("NIP Lama");
        SK_PangkatTerakhir.add(jLabel24, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 140, -1, -1));

        PT_NipLama_TF.setEditable(false);
        SK_PangkatTerakhir.add(PT_NipLama_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 140, 120, -1));

        PT_simpan_button.setFont(new java.awt.Font("Tahoma", 1, 14));
        PT_simpan_button.setText("Simpan");
        PT_simpan_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                PT_simpan_buttonActionPerformed(evt);
            }
        });
        SK_PangkatTerakhir.add(PT_simpan_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(580, 290, -1, -1));

        PT_next_button.setFont(new java.awt.Font("Tahoma", 1, 14));
        PT_next_button.setText("Next");
        PT_next_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                PT_next_buttonActionPerformed(evt);
            }
        });
        SK_PangkatTerakhir.add(PT_next_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 290, -1, -1));
        SK_PangkatTerakhir.add(PT_NoSurat_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 50, 130, -1));

        jLabel28.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel28.setText("Pangkat, Gol trk");
        SK_PangkatTerakhir.add(jLabel28, new org.netbeans.lib.awtextra.AbsoluteConstraints(480, 50, -1, -1));
        SK_PangkatTerakhir.add(PT_GolBr_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(830, 50, 30, -1));

        PT_TmtBr_TF.setDateFormatString("d MMM yyyy");
        SK_PangkatTerakhir.add(PT_TmtBr_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 80, 180, -1));

        jLabel31.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel31.setText("TMT terakhir");
        SK_PangkatTerakhir.add(jLabel31, new org.netbeans.lib.awtextra.AbsoluteConstraints(480, 80, -1, -1));

        jLabel32.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel32.setText("Mas kerja Gol terakhir");
        SK_PangkatTerakhir.add(jLabel32, new org.netbeans.lib.awtextra.AbsoluteConstraints(480, 110, -1, -1));

        PT_MsKerjaGolBln_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                PT_MsKerjaGolBln_TFKeyReleased(evt);
            }
        });
        SK_PangkatTerakhir.add(PT_MsKerjaGolBln_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(740, 110, 40, -1));

        PT_GajiPokok_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                PT_GajiPokok_TFKeyReleased(evt);
            }
        });
        SK_PangkatTerakhir.add(PT_GajiPokok_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(630, 140, 170, -1));

        jLabel33.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel33.setText("Rp.");
        SK_PangkatTerakhir.add(jLabel33, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 140, -1, -1));

        jLabel76.setFont(new java.awt.Font("Tahoma", 1, 18));
        jLabel76.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel76.setText("SK PANGKAT TERAKHIR");
        SK_PangkatTerakhir.add(jLabel76, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 10, 840, 30));

        jLabel77.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel77.setText("Gaji Pokok");
        SK_PangkatTerakhir.add(jLabel77, new org.netbeans.lib.awtextra.AbsoluteConstraints(480, 140, -1, -1));

        PT_MsKerjaGolThn_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                PT_MsKerjaGolThn_TFKeyReleased(evt);
            }
        });
        SK_PangkatTerakhir.add(PT_MsKerjaGolThn_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(630, 110, 50, -1));

        jLabel78.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel78.setText("Tahun");
        SK_PangkatTerakhir.add(jLabel78, new org.netbeans.lib.awtextra.AbsoluteConstraints(690, 110, -1, -1));
        SK_PangkatTerakhir.add(PT_Profesi_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 230, 230, -1));

        jLabel20.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel20.setText("Profesi/Jabatan");
        SK_PangkatTerakhir.add(jLabel20, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 230, -1, -1));

        PT_Sekolah_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                PT_Sekolah_TFKeyReleased(evt);
            }
        });
        SK_PangkatTerakhir.add(PT_Sekolah_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 260, 230, -1));

        combo_sk_pangkat_terakhir_pangkatBaru.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Pangkat Pengatur Muda", "Pangkat Pengatur Muda Tingat 1", "Pangkat Pengatur", "Pangkat Pengatur Tingkat 1", "Pangkat Penata Muda", "Pangkat Penata Muda Tingkat 1", "Pangkat Penata", "Pangkat Penata Tingkat 1", "Pangkat Pembina", "Pangkat Pembina Tingkat 1", "Pangkat Pembina Utama Muda", "Pangkat Pembina Utama Madya", "Pangkat Pembina Utama" }));
        combo_sk_pangkat_terakhir_pangkatBaru.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                combo_sk_pangkat_terakhir_pangkatBaruActionPerformed(evt);
            }
        });
        SK_PangkatTerakhir.add(combo_sk_pangkat_terakhir_pangkatBaru, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 50, 220, -1));

        jLabel105.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel105.setText("Bulan");
        SK_PangkatTerakhir.add(jLabel105, new org.netbeans.lib.awtextra.AbsoluteConstraints(790, 110, -1, -1));

        jLabel98.setIcon(new javax.swing.ImageIcon(getClass().getResource("/PIcture/wall2.jpg"))); // NOI18N
        SK_PangkatTerakhir.add(jLabel98, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 860, 370));

        Tab_PNS.addTab("SK_PangkatTerakhir", SK_PangkatTerakhir);

        SPTKG_Terakhir.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel17.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel17.setText("Nomor Surat");
        SPTKG_Terakhir.add(jLabel17, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 50, -1, -1));

        jLabel34.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel34.setText("Tmpt, Tnggl Pembuatan");
        SPTKG_Terakhir.add(jLabel34, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 80, -1, -1));

        jLabel35.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel35.setText("Nama");
        SPTKG_Terakhir.add(jLabel35, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 110, -1, -1));

        SPTKG_Nama_TF.setEditable(false);
        SPTKG_Terakhir.add(SPTKG_Nama_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 110, 230, -1));
        SPTKG_Terakhir.add(SPTKG_TmpSurat_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 80, 120, -1));

        SPTKG_TglSurat_TF.setDateFormatString("d MMM yyyy");
        SPTKG_Terakhir.add(SPTKG_TglSurat_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(310, 80, 100, -1));
        SPTKG_Terakhir.add(SPTKG_NoSurat_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 50, 230, -1));

        jLabel42.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel42.setText("NIP Lama");
        SPTKG_Terakhir.add(jLabel42, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 140, -1, -1));

        SPTKG_NipLama_TF.setEditable(false);
        SPTKG_Terakhir.add(SPTKG_NipLama_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 140, 120, -1));

        SPTKG_NipBaru_TF.setEditable(false);
        SPTKG_Terakhir.add(SPTKG_NipBaru_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 170, 230, -1));

        jLabel43.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel43.setText("NIP baru");
        SPTKG_Terakhir.add(jLabel43, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 170, -1, -1));

        SPTKG_simpan_button.setFont(new java.awt.Font("Tahoma", 1, 14));
        SPTKG_simpan_button.setText("Simpan");
        SPTKG_simpan_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                SPTKG_simpan_buttonActionPerformed(evt);
            }
        });
        SPTKG_Terakhir.add(SPTKG_simpan_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(560, 290, -1, -1));

        SPTKG_next_button.setFont(new java.awt.Font("Tahoma", 1, 14));
        SPTKG_next_button.setText("Next");
        SPTKG_next_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                SPTKG_next_buttonActionPerformed(evt);
            }
        });
        SPTKG_Terakhir.add(SPTKG_next_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(660, 290, -1, -1));

        jLabel36.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel36.setText("Pangkat,Gol Baru");
        SPTKG_Terakhir.add(jLabel36, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 200, -1, -1));
        SPTKG_Terakhir.add(SPTKG_GolBr_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 200, 50, -1));

        jLabel39.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel39.setText("Kantor/Tempat Bekerja");
        SPTKG_Terakhir.add(jLabel39, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 230, -1, -1));
        SPTKG_Terakhir.add(SPTKG_Sekolah_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 230, 230, -1));

        SPTKG_GajiLama_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                SPTKG_GajiLama_TFKeyReleased(evt);
            }
        });
        SPTKG_Terakhir.add(SPTKG_GajiLama_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(650, 50, 170, -1));

        jLabel40.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel40.setText("Gaji Pokok Lama");
        SPTKG_Terakhir.add(jLabel40, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 50, -1, -1));

        jLabel41.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel41.setText("Gaji Pokok Baru");
        SPTKG_Terakhir.add(jLabel41, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 80, -1, -1));

        SPTKG_GajiBaru_TF.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                SPTKG_GajiBaru_TFKeyReleased(evt);
            }
        });
        SPTKG_Terakhir.add(SPTKG_GajiBaru_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(650, 80, 170, -1));

        SPTKG_TmtBr_TF.setDateFormatString("d MMM yyyy");
        SPTKG_Terakhir.add(SPTKG_TmtBr_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(650, 110, 170, -1));

        jLabel44.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel44.setText("Rp");
        SPTKG_Terakhir.add(jLabel44, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 80, -1, -1));

        jLabel80.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel80.setText("TMT Gaji Pokok baru");
        SPTKG_Terakhir.add(jLabel80, new org.netbeans.lib.awtextra.AbsoluteConstraints(460, 110, -1, -1));

        jLabel81.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel81.setText(", -");
        SPTKG_Terakhir.add(jLabel81, new org.netbeans.lib.awtextra.AbsoluteConstraints(830, 80, -1, -1));

        jLabel82.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel82.setText("Rp");
        SPTKG_Terakhir.add(jLabel82, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 50, -1, -1));

        jLabel83.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel83.setText(", -");
        SPTKG_Terakhir.add(jLabel83, new org.netbeans.lib.awtextra.AbsoluteConstraints(830, 50, -1, -1));

        jLabel84.setFont(new java.awt.Font("Tahoma", 1, 18));
        jLabel84.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel84.setText("SPTKG TERAKHIR");
        SPTKG_Terakhir.add(jLabel84, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 10, 840, 30));

        sptkg_pangkat_br.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Pangkat Pengatur Muda", "Pangkat Pengatur Muda Tingat 1", "Pangkat Pengatur", "Pangkat Pengatur Tingkat 1", "Pangkat Penata Muda", "Pangkat Penata Muda Tingkat 1", "Pangkat Penata", "Pangkat Penata Tingkat 1", "Pangkat Pembina", "Pangkat Pembina Tingkat 1", "Pangkat Pembina Utama Muda", "Pangkat Pembina Utama Madya", "Pangkat Pembina Utama" }));
        sptkg_pangkat_br.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                sptkg_pangkat_brActionPerformed(evt);
            }
        });
        SPTKG_Terakhir.add(sptkg_pangkat_br, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 200, 170, -1));

        jLabel99.setIcon(new javax.swing.ImageIcon(getClass().getResource("/PIcture/wall2.jpg"))); // NOI18N
        SPTKG_Terakhir.add(jLabel99, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 860, 370));

        Tab_PNS.addTab("SPTKG_Terakhir", SPTKG_Terakhir);

        tempat_bekerja.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel107.setFont(new java.awt.Font("Tahoma", 1, 18));
        jLabel107.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel107.setText("Tempat Bekerja");
        tempat_bekerja.add(jLabel107, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 10, 840, 30));

        jLabel66.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel66.setText("Nama Sekolah/Instansi");
        tempat_bekerja.add(jLabel66, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 80, -1, 20));
        tempat_bekerja.add(tmt_bkrja_no_instansi, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 50, 230, -1));
        tempat_bekerja.add(tmt_bkrja_nama_kepala, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 110, 320, -1));

        jLabel67.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel67.setText("Nama Kepala Sekolah/Instansi");
        tempat_bekerja.add(jLabel67, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 110, -1, -1));

        jLabel72.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel72.setText("Pangkat/Golongan");
        tempat_bekerja.add(jLabel72, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 140, -1, -1));
        tempat_bekerja.add(tmt_bkrja_nip_kepala, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 170, 230, -1));

        tmt_bkrja_nip_peg.setEditable(false);
        tempat_bekerja.add(tmt_bkrja_nip_peg, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 230, 230, -1));

        jLabel75.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel75.setText("Nama Pegawai");
        tempat_bekerja.add(jLabel75, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 200, -1, -1));

        jLabel79.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel79.setText("NIP Pegawai");
        tempat_bekerja.add(jLabel79, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 230, -1, -1));

        tmt_bkrja_nama_peg.setEditable(false);
        tempat_bekerja.add(tmt_bkrja_nama_peg, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 200, 230, -1));

        tmt_bkrja_simpan.setFont(new java.awt.Font("Tahoma", 1, 14));
        tmt_bkrja_simpan.setText("Simpan");
        tmt_bkrja_simpan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tmt_bkrja_simpanActionPerformed(evt);
            }
        });
        tempat_bekerja.add(tmt_bkrja_simpan, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 300, -1, -1));

        tmt_bkrja_next.setFont(new java.awt.Font("Tahoma", 1, 14));
        tmt_bkrja_next.setText("Next");
        tmt_bkrja_next.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tmt_bkrja_nextActionPerformed(evt);
            }
        });
        tempat_bekerja.add(tmt_bkrja_next, new org.netbeans.lib.awtextra.AbsoluteConstraints(440, 300, -1, -1));

        jLabel108.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel108.setText("Nomor Sekolah/Instansi");
        tempat_bekerja.add(jLabel108, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 50, -1, -1));
        tempat_bekerja.add(tmt_bkrja_nm_instansi, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 80, 320, -1));

        jLabel109.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel109.setText("NIP Kepala Sekolah/Instansi");
        tempat_bekerja.add(jLabel109, new org.netbeans.lib.awtextra.AbsoluteConstraints(190, 170, -1, -1));

        tmt_bekerja_pangkat.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Pangkat Pengatur Muda", "Pangkat Pengatur Muda Tingat 1", "Pangkat Pengatur", "Pangkat Pengatur Tingkat 1", "Pangkat Penata Muda", "Pangkat Penata Muda Tingkat 1", "Pangkat Penata", "Pangkat Penata Tingkat 1", "Pangkat Pembina", "Pangkat Pembina Tingkat 1", "Pangkat Pembina Utama Muda", "Pangkat Pembina Utama Madya", "Pangkat Pembina Utama" }));
        tmt_bekerja_pangkat.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tmt_bekerja_pangkatActionPerformed(evt);
            }
        });
        tempat_bekerja.add(tmt_bekerja_pangkat, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 140, 220, -1));
        tempat_bekerja.add(tmt_bekerja_golongan, new org.netbeans.lib.awtextra.AbsoluteConstraints(620, 140, 50, -1));

        jLabel106.setIcon(new javax.swing.ImageIcon(getClass().getResource("/PIcture/wall2.jpg"))); // NOI18N
        tempat_bekerja.add(jLabel106, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 860, 370));

        Tab_PNS.addTab("Data tempat Bekerja", tempat_bekerja);

        SK_Karpeg.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel45.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel45.setText("Nomor Surat");
        SK_Karpeg.add(jLabel45, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 50, -1, -1));

        Karpeg_Nama_TF.setEditable(false);
        SK_Karpeg.add(Karpeg_Nama_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 80, 230, -1));

        jLabel46.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel46.setText("Nama");
        SK_Karpeg.add(jLabel46, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 80, -1, -1));

        jLabel48.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel48.setText("Tanggal Lahir");
        SK_Karpeg.add(jLabel48, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 170, -1, -1));

        Karpeg_TMT_Date.setDateFormatString("d MMM yyyy");
        SK_Karpeg.add(Karpeg_TMT_Date, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 200, 230, -1));

        Karpeg_NipBaru_TF.setEditable(false);
        SK_Karpeg.add(Karpeg_NipBaru_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 140, 230, -1));

        jLabel51.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel51.setText("NIP baru");
        SK_Karpeg.add(jLabel51, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 140, -1, -1));

        jLabel52.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel52.setText("NIP Lama");
        SK_Karpeg.add(jLabel52, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 110, -1, -1));

        Karpeg_NipLama_TF.setEditable(false);
        SK_Karpeg.add(Karpeg_NipLama_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 110, 120, -1));

        Karpeg_simpan_button.setFont(new java.awt.Font("Tahoma", 1, 14));
        Karpeg_simpan_button.setText("Simpan");
        Karpeg_simpan_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                Karpeg_simpan_buttonActionPerformed(evt);
            }
        });
        SK_Karpeg.add(Karpeg_simpan_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 300, -1, -1));

        Karpeg_next_button.setFont(new java.awt.Font("Tahoma", 1, 14));
        Karpeg_next_button.setText("Next");
        Karpeg_next_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                Karpeg_next_buttonActionPerformed(evt);
            }
        });
        SK_Karpeg.add(Karpeg_next_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(440, 300, -1, -1));
        SK_Karpeg.add(Karpeg_NoSurat_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 50, 230, -1));

        Karpeg_TglLhr_Date.setDateFormatString("d MMM yyyy");
        SK_Karpeg.add(Karpeg_TglLhr_Date, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 170, 230, -1));

        jLabel85.setFont(new java.awt.Font("Tahoma", 1, 18));
        jLabel85.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel85.setText("SK KARPEG");
        SK_Karpeg.add(jLabel85, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 10, 840, 30));

        jLabel86.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel86.setText("TMT CPNS");
        SK_Karpeg.add(jLabel86, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 200, -1, -1));

        jLabel100.setIcon(new javax.swing.ImageIcon(getClass().getResource("/PIcture/wall2.jpg"))); // NOI18N
        SK_Karpeg.add(jLabel100, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 860, 370));

        Tab_PNS.addTab("SK_Karpeg", SK_Karpeg);

        Surat_Nikah.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel47.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel47.setText("Nomor Surat");
        Surat_Nikah.add(jLabel47, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 70, -1, -1));
        Surat_Nikah.add(SN_NoSurat_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 70, 230, -1));
        Surat_Nikah.add(SN_NamaSuami_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 130, 230, -1));
        Surat_Nikah.add(SN_NamaIstri_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 160, 230, -1));

        jLabel53.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel53.setText("Nama Istri");
        Surat_Nikah.add(jLabel53, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 160, -1, -1));

        jLabel54.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel54.setText("Nama Suami");
        Surat_Nikah.add(jLabel54, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 130, -1, -1));

        jLabel55.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel55.setText("Tanggal Nikah");
        Surat_Nikah.add(jLabel55, new org.netbeans.lib.awtextra.AbsoluteConstraints(240, 100, -1, -1));

        SN_TglNikah_Date.setDateFormatString("d MMM yyyy");
        Surat_Nikah.add(SN_TglNikah_Date, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 100, 230, -1));

        SN_simpan_button.setFont(new java.awt.Font("Tahoma", 1, 14));
        SN_simpan_button.setText("Simpan");
        SN_simpan_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                SN_simpan_buttonActionPerformed(evt);
            }
        });
        Surat_Nikah.add(SN_simpan_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 260, -1, -1));

        SN_next_button.setFont(new java.awt.Font("Tahoma", 1, 14));
        SN_next_button.setText("Next");
        SN_next_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                SN_next_buttonActionPerformed(evt);
            }
        });
        Surat_Nikah.add(SN_next_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(470, 260, -1, -1));

        jLabel94.setFont(new java.awt.Font("Tahoma", 1, 18));
        jLabel94.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel94.setText("SURAT NIKAH");
        Surat_Nikah.add(jLabel94, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 10, 840, 30));

        jLabel101.setIcon(new javax.swing.ImageIcon(getClass().getResource("/PIcture/wall2.jpg"))); // NOI18N
        Surat_Nikah.add(jLabel101, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 860, 370));

        Tab_PNS.addTab("Surat Nikah", Surat_Nikah);

        KK.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jPanel8.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jLabel56.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel56.setText("Nama kepala keluarga");
        jPanel8.add(jLabel56, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 40, -1, -1));
        jPanel8.add(KK_NamaKK_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 40, 230, -1));
        jPanel8.add(KK_Alamat_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 70, 230, -1));
        jPanel8.add(KK_RT_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 100, 40, -1));
        jPanel8.add(KK_RW_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 100, 40, -1));
        jPanel8.add(KK_KelDesa_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 130, 120, -1));

        jLabel60.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel60.setText("Kelurahan/Desa");
        jPanel8.add(jLabel60, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 130, -1, -1));

        jLabel58.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel58.setText("RT/RW");
        jPanel8.add(jLabel58, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 100, -1, -1));

        jLabel57.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel57.setText("Alamat");
        jPanel8.add(jLabel57, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 70, -1, -1));

        jLabel61.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel61.setText("Kecamatan");
        jPanel8.add(jLabel61, new org.netbeans.lib.awtextra.AbsoluteConstraints(440, 40, -1, -1));

        jLabel62.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel62.setText("kabupaten/Kota");
        jPanel8.add(jLabel62, new org.netbeans.lib.awtextra.AbsoluteConstraints(440, 70, -1, -1));

        jLabel64.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel64.setText("Kode Pos");
        jPanel8.add(jLabel64, new org.netbeans.lib.awtextra.AbsoluteConstraints(440, 100, -1, -1));

        jLabel63.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel63.setText("Provinsi");
        jPanel8.add(jLabel63, new org.netbeans.lib.awtextra.AbsoluteConstraints(440, 130, -1, -1));
        jPanel8.add(KK_Provinsi_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 130, 230, -1));
        jPanel8.add(KK_KodePos_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 100, 230, -1));
        jPanel8.add(KK_KabKota_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 70, 230, -1));
        jPanel8.add(KK_Kec_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(600, 40, 230, -1));

        jLabel59.setFont(new java.awt.Font("Tahoma", 0, 14));
        jLabel59.setText("Nomor KK");
        jPanel8.add(jLabel59, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 10, -1, -1));
        jPanel8.add(KK_NoKK_TF, new org.netbeans.lib.awtextra.AbsoluteConstraints(370, 10, 230, -1));

        KK_TabelAnggotaKel_Table.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null},
                {null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null}
            },
            new String [] {
                "No", "Nama lengkap", "NIK", "JK", "tempat Lahir", "Tanggal Lahir", "Agama", "Pendidikan", "Pekerjaan", "Status Perkawinan", "Hub Keluarga", "Kewarganegaraan", "No Paspor/Kitas", "No Kitas Kitab", "Nama Ayah", "Nama Ibu"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.Integer.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jScrollPane3.setViewportView(KK_TabelAnggotaKel_Table);

        jPanel8.add(jScrollPane3, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 160, 1090, 120));

        KK_SimpanKK_button.setFont(new java.awt.Font("Tahoma", 1, 11));
        KK_SimpanKK_button.setText("SIMPAN KK");
        KK_SimpanKK_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                KK_SimpanKK_buttonActionPerformed(evt);
            }
        });
        jPanel8.add(KK_SimpanKK_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(480, 320, -1, -1));

        KK_TambahAnggota_button.setFont(new java.awt.Font("Tahoma", 1, 11));
        KK_TambahAnggota_button.setText("TAMBAH ANGGOTA KELUARGA");
        KK_TambahAnggota_button.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                KK_TambahAnggota_buttonActionPerformed(evt);
            }
        });
        jPanel8.add(KK_TambahAnggota_button, new org.netbeans.lib.awtextra.AbsoluteConstraints(590, 320, -1, -1));

        jLabel102.setIcon(new javax.swing.ImageIcon(getClass().getResource("/PIcture/wall2.jpg"))); // NOI18N
        jPanel8.add(jLabel102, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 1090, 360));

        jScrollPane2.setViewportView(jPanel8);

        KK.add(jScrollPane2, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 870, 380));

        Tab_PNS.addTab("KK", KK);

        jPanel3.add(Tab_PNS, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 100, 870, 400));

        jLabel5.setText("Selamat Datang,");
        jPanel3.add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, -1, -1));

        TP_Kode_Label.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        TP_Kode_Label.setText("Kode");
        jPanel3.add(TP_Kode_Label, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 10, 20, -1));

        jLabel8.setText("-");
        jPanel3.add(jLabel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(140, 10, 10, -1));

        TP_Nama_Label.setText("Nama");
        jPanel3.add(TP_Nama_Label, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 10, 190, -1));

        time.setFont(new java.awt.Font("Tahoma", 1, 12));
        time.setText("time");
        jPanel3.add(time, new org.netbeans.lib.awtextra.AbsoluteConstraints(740, 10, -1, -1));

        jButton1.setFont(new java.awt.Font("Tahoma", 1, 14));
        jButton1.setText("Keluar");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });
        jPanel3.add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(720, 50, -1, -1));

        jLabel95.setIcon(new javax.swing.ImageIcon(getClass().getResource("/PIcture/wall2.jpg"))); // NOI18N
        jPanel3.add(jLabel95, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 870, 120));

        getContentPane().add(jPanel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 180, 870, 500));

        pack();
        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        java.awt.Dimension dialogSize = getSize();
        setLocation((screenSize.width-dialogSize.width)/2,(screenSize.height-dialogSize.height)/2);
    }// </editor-fold>//GEN-END:initComponents

    private void DU_Simpan_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_DU_Simpan_buttonActionPerformed
        if (DU_NipBaru_TF.getText().equals("") || DU_Nama_TF.getText().equals("") || DU_TmptLhr_Date.getText().equals("")
                || DU_TglLhr_Date == null || DU_Dukuh_TF.getText().equals("")) {
            JOptionPane.showMessageDialog(rootPane, "isi yang lengkap..");
        } else {
            sebarkanNama(DU_Nama_TF.getText());
            sebarkanNIPLama(DU_NipLama_TF.getText());
            sebarkanNIPBaru(DU_NipBaru_TF.getText());
            sebarkanKeKK();
            sebarkanTTL();
            String status = (String) DU_StatusHub_CB.getSelectedItem();
            if (status.equals("NIKAH") || status.equals("JANDA") || status.equals("DUDA")) {
                JOptionPane.showMessageDialog(rootPane, "Status Pengaju : " + status + ", Menampilkan form Surat Nikah dan KK.");
                Tab_PNS.setEnabledAt(6, true);
                Tab_PNS.setEnabledAt(7, true);
                String jenisKelamin = (String) DU_JenisKelamin_CB.getSelectedItem();
                if (jenisKelamin.equals("L")) {
                    SN_NamaSuami_TF.setText(DU_Nama_TF.getText());
                    SN_NamaSuami_TF.setEditable(false);
                    KK_NamaKK_TF.setText(DU_Nama_TF.getText());
                } else {
                    SN_NamaIstri_TF.setText(DU_Nama_TF.getText());
                    SN_NamaIstri_TF.setEditable(false);
                }
            } else {
                JOptionPane.showMessageDialog(rootPane, "Status Pengaju : " + status + ", Hanya Menampilkan Form KK.");
                Tab_PNS.setEnabledAt(7, true);
            }
            if (DU_NipLama_TF.getText().matches("")) {
                pegawai.setNip_lama("-");
            } else {
                pegawai.setNip_lama(DU_NipLama_TF.getText());
            }
            pegawai.setNip_baru(DU_NipBaru_TF.getText());

            pegawai.setNama_pns(DU_Nama_TF.getText());
            pegawai.setJk((String) DU_JenisKelamin_CB.getSelectedItem());
            pegawai.setStatus((String) DU_StatusHub_CB.getSelectedItem());
            try {
                Controller.ControlData.getKoneksi().insertPNS(pegawai);
                JOptionPane.showMessageDialog(rootPane, "Data Utama Berhasil Disimpan");
            } catch (Exception ex) {
                Logger.getLogger(TambahPegawai.class.getName()).log(Level.SEVERE, null, ex);
            }
            DU_next_button.setEnabled(true);
            DU_Simpan_button.setEnabled(false);
        }
    }//GEN-LAST:event_DU_Simpan_buttonActionPerformed

    private void DU_next_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_DU_next_buttonActionPerformed
        Tab_PNS.setEnabledAt(1, true);
        Tab_PNS.setSelectedIndex(1);
    }//GEN-LAST:event_DU_next_buttonActionPerformed

    private void CPNS_simpan_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_CPNS_simpan_buttonActionPerformed
        sebarkanProfesidanSekolah();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        String gol = (String) combo_sk_cpns_golongan.getSelectedItem();
        SK_CPNS cpns = new SK_CPNS();
        cpns.setId_SuratCPNS(CPNS_NoSurat_TF.getText());
        cpns.setTempat_surat(CPNS_TmpBuatSurat_TF.getText());
        cpns.setTanggal_surat(sdf.format(CPNS_TglSurat_Date.getDate()));
        cpns.setNama_pemilik(CPNS_nama_TF.getText());
        cpns.setTempat_lahir(CPNS_TmpLhr_TF.getText());
        cpns.setTanggal_lahir(sdf.format(CPNS_TglLhr_Date.getDate()));
        cpns.setProfesi(CPNS_Profesi_TF.getText());
        cpns.setSekolah(CPNS_Sekolah_TF.getText());
        cpns.setMasa_kerja_tahun(CPNS_MasaKerjaTahun_TF.getText());
        cpns.setMasa_kerja_bulan(CPNS_MasaKerjaBulan_TF.getText());
        cpns.setGolongan(gol);
        cpns.setNip_lama(CPNS_NipLama_TF.getText());
        cpns.setNip_baru(CPNS_NipBaru_TF.getText());
        cpns.setBerijazah(CPNS_Berijazah_TF.getText());
        cpns.setTmt_cpns(sdf.format(CPNS_TMT_cpns.getDate()));
        cpns.setKode_operator(TP_Kode_Label.getText().toUpperCase());
        try {
            Controller.ControlData.getKoneksi().insertCPNS(cpns);
            Controller.ControlData.getKoneksi().updatePNS("CPNS", cpns.getNip_baru(), cpns.getId_SuratCPNS().toUpperCase());
            Karpeg_TMT_Date.setDate(CPNS_TMT_cpns.getDate());
            JOptionPane.showMessageDialog(rootPane, "Data SK CPNS Berhasil Disimpan");
        } catch (Exception ex) {
            Logger.getLogger(TambahPegawai.class.getName()).log(Level.SEVERE, null, ex);
        }
        CPNS_next_button.setEnabled(true);
        CPNS_simpan_button.setEnabled(false);
    }//GEN-LAST:event_CPNS_simpan_buttonActionPerformed

    private void CPNS_next_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_CPNS_next_buttonActionPerformed
        Tab_PNS.setEnabledAt(2, true);
        Tab_PNS.setSelectedIndex(2);
    }//GEN-LAST:event_CPNS_next_buttonActionPerformed

    private void PT_simpan_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_PT_simpan_buttonActionPerformed
        SPTKG_Sekolah_TF.setText(PT_Sekolah_TF.getText());
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
//        String pangkat = (String) combo_sk_pangkat_terakhir_pangkat.getSelectedItem();
        String pangkatBaru = (String) combo_sk_pangkat_terakhir_pangkatBaru.getSelectedItem();
        SK_PangkatTerakhir pt = new SK_PangkatTerakhir();
        pt.setId_SuratPangkatTerakhir(PT_NoSurat_TF.getText());
        pt.setNama_pemilik(PT_Nama_TF.getText());
        pt.setTempat_lahir(PT_TmpLhr_TF.getText());
        pt.setTanggal_lahir(sdf.format(PT_TglLhr_Date.getDate()));
        pt.setNip_lama(PT_NipLama_TF.getText());
        pt.setNip_baru(PT_NipBaru_TF.getText());
        pt.setPendidikan(PT_Pend_TF.getText());
        pt.setPangkat_baru(pangkatBaru);
        pt.setGolongan_baru(PT_GolBr_TF.getText());
        pt.setTmt_baru(sdf.format(PT_TmtBr_TF.getDate()));
        pt.setMasa_kerja_golongan_tahun(PT_MsKerjaGolThn_TF.getText());
        pt.setGaji_pokok(PT_GajiPokok_TF.getText());
        pt.setMasa_kerja_golongan_bulan(PT_MsKerjaGolBln_TF.getText());
        pt.setKode_operator(TP_Kode_Label.getText().toUpperCase());
        pt.setProfesi(PT_Profesi_TF.getText());
        pt.setSekolah(PT_Sekolah_TF.getText());
        pt.setTempat_lahir(PT_TmpLhr_TF.getText());
        try {
            sebarkanProfesidanSekolah();
            sebarkanPangkatGolBr();
            tmt_bkrja_nm_instansi.setText(PT_Sekolah_TF.getText());
            Controller.ControlData.getKoneksi().insertSK_PangkatTerakhir(pt);
            Controller.ControlData.getKoneksi().updatePNS("PANGKATTERAKHIR", pt.getNip_baru(), pt.getId_SuratPangkatTerakhir().toUpperCase());
            JOptionPane.showMessageDialog(rootPane, "Data SK PANGKAT TERAKHIR Berhasil Disimpan");
        } catch (Exception ex) {
            Logger.getLogger(TambahPegawai.class.getName()).log(Level.SEVERE, null, ex);
        }
        PT_next_button.setEnabled(true);
        PT_simpan_button.setEnabled(false);
    }//GEN-LAST:event_PT_simpan_buttonActionPerformed

    private void PT_next_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_PT_next_buttonActionPerformed
        Tab_PNS.setEnabledAt(3, true);
        Tab_PNS.setSelectedIndex(3);
    }//GEN-LAST:event_PT_next_buttonActionPerformed

    private void SPTKG_next_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SPTKG_next_buttonActionPerformed
        Tab_PNS.setEnabledAt(4, true);
        Tab_PNS.setSelectedIndex(4);
}//GEN-LAST:event_SPTKG_next_buttonActionPerformed

    private void SPTKG_simpan_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SPTKG_simpan_buttonActionPerformed
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");

        SPTKG_Terakhir sptkg = new SPTKG_Terakhir();
        sptkg.setId_SuratSPTKGTerakhir(SPTKG_NoSurat_TF.getText());
        sptkg.setTempat_surat(SPTKG_TmpSurat_TF.getText());
        sptkg.setTanggal_surat(sdf.format(SPTKG_TglSurat_TF.getDate()));
        sptkg.setNama_pemilik(SPTKG_Nama_TF.getText());
        sptkg.setNip_baru(SPTKG_NipBaru_TF.getText());
        sptkg.setPangkat_baru((String) sptkg_pangkat_br.getSelectedItem());
        sptkg.setGolongan_ruang_baru(SPTKG_GolBr_TF.getText());
        sptkg.setSekolah(SPTKG_Sekolah_TF.getText());
        sptkg.setGajipokok_lama(SPTKG_GajiLama_TF.getText());
        sptkg.setGajipokok_baru(SPTKG_GajiBaru_TF.getText());
        sptkg.setTmt_baru(sdf.format(SPTKG_TmtBr_TF.getDate()));
        sptkg.setNip_lama(SPTKG_NipLama_TF.getText());
        sptkg.setKode_operator(TP_Kode_Label.getText().toUpperCase());
        try {
            Controller.ControlData.getKoneksi().insertSPTKG_Terakhir(sptkg);
            Controller.ControlData.getKoneksi().updatePNS("SPTKG", sptkg.getNip_baru(), sptkg.getId_SuratSPTKGTerakhir().toUpperCase());
            JOptionPane.showMessageDialog(rootPane, "Data SPTKG TERAKHIR Berhasil Disimpan");
        } catch (Exception ex) {
            Logger.getLogger(TambahPegawai.class.getName()).log(Level.SEVERE, null, ex);
        }
        SPTKG_next_button.setEnabled(true);
        SPTKG_simpan_button.setEnabled(false);
}//GEN-LAST:event_SPTKG_simpan_buttonActionPerformed

    private void Karpeg_simpan_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Karpeg_simpan_buttonActionPerformed
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");

        SK_Karpeg karpeg = new SK_Karpeg();
        karpeg.setId_SuratKarpeg(Karpeg_NoSurat_TF.getText());
        karpeg.setNip_lama(Karpeg_NipLama_TF.getText());
        karpeg.setNip_baru(Karpeg_NipBaru_TF.getText());
        karpeg.setNama_pemilik(Karpeg_Nama_TF.getText());
        karpeg.setTanggal_lahir(sdf.format(Karpeg_TglLhr_Date.getDate()));
        karpeg.setTmt_cpns(sdf.format(Karpeg_TMT_Date.getDate()));
        karpeg.setKode_operator(TP_Kode_Label.getText().toUpperCase());
        try {
            Controller.ControlData.getKoneksi().insertSK_Karpeg(karpeg);
            Controller.ControlData.getKoneksi().updatePNS("KARPEG", karpeg.getNip_baru(), karpeg.getId_SuratKarpeg().toUpperCase());
            JOptionPane.showMessageDialog(rootPane, "Data KARPEG Berhasil Disimpan");
        } catch (Exception ex) {
            Logger.getLogger(TambahPegawai.class.getName()).log(Level.SEVERE, null, ex);
        }
        Karpeg_next_button.setEnabled(true);
        Karpeg_simpan_button.setEnabled(false);
    }//GEN-LAST:event_Karpeg_simpan_buttonActionPerformed

    private void Karpeg_next_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_Karpeg_next_buttonActionPerformed
        Tab_PNS.setEnabledAt(6, true);
        Tab_PNS.setSelectedIndex(6);
    }//GEN-LAST:event_Karpeg_next_buttonActionPerformed

    private void SN_simpan_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SN_simpan_buttonActionPerformed
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        S_Nikah nikah = new S_Nikah();
        nikah.setId_SuratNikah(SN_NoSurat_TF.getText());
        nikah.setTanggal_nikah(sdf.format(SN_TglNikah_Date.getDate()));
        nikah.setNama_suami(SN_NamaSuami_TF.getText());
        nikah.setNama_istri(SN_NamaIstri_TF.getText());
        nikah.setKode_operator(TP_Kode_Label.getText().toUpperCase());

        try {
            Controller.ControlData.getKoneksi().insertS_Nikah(nikah);
            Controller.ControlData.getKoneksi().updatePNS("NIKAH", pegawai.getNip_baru(), nikah.getId_SuratNikah().toUpperCase());
            JOptionPane.showMessageDialog(rootPane, "Data SURAT NIKAH Berhasil Disimpan");
        } catch (Exception ex) {
            Logger.getLogger(TambahPegawai.class.getName()).log(Level.SEVERE, null, ex);
        }
        SN_next_button.setEnabled(true);
        SN_simpan_button.setEnabled(false);
    }//GEN-LAST:event_SN_simpan_buttonActionPerformed

    private void SN_next_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SN_next_buttonActionPerformed
        Tab_PNS.setEnabledAt(7, true);
        Tab_PNS.setSelectedIndex(7);
    }//GEN-LAST:event_SN_next_buttonActionPerformed

    private void DU_NipLama_TFKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_DU_NipLama_TFKeyPressed
//        int res = cekAngka(DU_NipLama_TF.getText());
//        if (res == 0) {
//            DU_NipLama_TF.setText("");
//        }
    }//GEN-LAST:event_DU_NipLama_TFKeyPressed

    private void DU_NipBaru_TFKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_DU_NipBaru_TFKeyPressed
//        int res = cekAngka(DU_NipBaru_TF.getText());
//        if (res == 0) {
//            DU_NipBaru_TF.setText("");
//        }
    }//GEN-LAST:event_DU_NipBaru_TFKeyPressed

    private void DU_KabKota_TFKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_DU_KabKota_TFKeyPressed
        DU_Alamat_TF.setText(DU_jalan_TF.getText() + " " + DU_Dukuh_TF.getText() + " RT " + DU_RT_TF.getText() + " RW " + DU_RW_TF.getText()
                + " " + DU_Desa_TF.getText() + " " + DU_Kecamatan_TF.getText());
        DU_Simpan_button.setEnabled(true);
    }//GEN-LAST:event_DU_KabKota_TFKeyPressed

    private void AK_Batal_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_AK_Batal_buttonActionPerformed
        KK_Internal.setVisible(false);
    }//GEN-LAST:event_AK_Batal_buttonActionPerformed

    private void KK_TambahAnggota_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_KK_TambahAnggota_buttonActionPerformed
        if (KK_Internal.isVisible() == true) {
            KK_Internal.setVisible(false);
        } else {
            KK_Internal.setVisible(true);
        }
    }//GEN-LAST:event_KK_TambahAnggota_buttonActionPerformed

    private void AK_Simpan_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_AK_Simpan_buttonActionPerformed
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        String pekerjaan = (String) AK_Pekerjaan_Combo.getSelectedItem();

        ak = new AnggotaKeluarga();
        ak.setNik(AK_NIK_TF.getText());
        ak.setNama_lengkap(AK_Nama_TF.getText());
        ak.setJenis_kelamin((String) AK_JK_Combo.getSelectedItem());
        ak.setTempat_lahir(AK_TempatLahir_TF.getText());
        ak.setTanggal_lahir(sdf.format(AK_TanggalLahir_Date.getDate()));
        ak.setAgama((String) AK_Agama_Combo.getSelectedItem());
        ak.setPendidikan((String) AK_Pendidikan_Combo.getSelectedItem());
        if (!pekerjaan.equals("Lainnya...")) {
            ak.setPekerjaan((String) AK_Pekerjaan_Combo.getSelectedItem());
        } else {
            ak.setPekerjaan(AK_Pekerjaan_TF.getText());
        }
        ak.setStatus_perkawinan((String) AK_StatusKawin_Combo.getSelectedItem());
        ak.setStatus_hub_keluarga((String) AK_HubKeluarga_Combo.getSelectedItem());
        ak.setKewarganegaraan((String) AK_Kewarganegaraan_Combo.getSelectedItem());
        ak.setNo_paspor(AK_NoPaspor_TF.getText());
        ak.setNo_kitas_kitab(AK_NoKitasKitap_TF.getText());
        ak.setNama_ayah(AK_NamaAyah_TF.getText());
        ak.setNama_ibu(AK_NamaIbu_TF.getText());
        KK kartu = new KK();
        kartu.setId_Suratkk(idSuratkk);
        ak.setId_suratkk(kartu);

        try {
            Controller.ControlData.getKoneksi().insertAnggotaKeluarga(ak);
            JOptionPane.showMessageDialog(rootPane, "Berhasil Disimpan");
            updateTerusTabelnyaKK(idSuratkk);
            emptyAnggota();
            KK_Internal.setVisible(false);
        } catch (Exception ex) {
            Logger.getLogger(TambahPegawai.class.getName()).log(Level.SEVERE, null, ex);
        }

    }//GEN-LAST:event_AK_Simpan_buttonActionPerformed

    private void KK_SimpanKK_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_KK_SimpanKK_buttonActionPerformed
        KK k = new KK();
        k.setId_Suratkk(KK_NoKK_TF.getText());
        k.setNama_kk(KK_NamaKK_TF.getText());
        k.setAlamat(KK_Alamat_TF.getText());
        k.setRT(KK_RT_TF.getText());
        k.setRW(KK_RW_TF.getText());
        k.setKelurahan_Desa(KK_KelDesa_TF.getText());
        k.setKecamatan(KK_Kec_TF.getText());
        k.setKabupaten_Kota(KK_KabKota_TF.getText());
        k.setKode_pos(KK_KodePos_TF.getText());
        k.setProvinsi(KK_Provinsi_TF.getText());
        k.setKode_operator(TP_Kode_Label.getText().toUpperCase());

        try {
            Controller.ControlData.getKoneksi().insertKK(k);
            Controller.ControlData.getKoneksi().updatePNS("KK", pegawai.getNip_baru(), k.getId_Suratkk().toUpperCase());
            idSuratkk = k.getId_Suratkk();
            JOptionPane.showMessageDialog(rootPane, "Data KARTU KELUARGA Berhasil Disimpan, Silahkan Masukkan Anggota Keluarga");
            KK_TambahAnggota_button.setEnabled(true);
            KK_SimpanKK_button.setEnabled(false);
        } catch (Exception ex) {
            Logger.getLogger(TambahPegawai.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_KK_SimpanKK_buttonActionPerformed

    private void AK_Pekerjaan_ComboActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_AK_Pekerjaan_ComboActionPerformed
        String jawab = (String) AK_Pekerjaan_Combo.getSelectedItem();
        if (jawab.equals("Lainnya...")) {
            AK_Pekerjaan_TF.setEditable(true);
        } else {
            AK_Pekerjaan_TF.setText("-");
            AK_Pekerjaan_TF.setEditable(false);
        }
    }//GEN-LAST:event_AK_Pekerjaan_ComboActionPerformed

    private void DU_Dukuh_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_DU_Dukuh_TFKeyReleased
    }//GEN-LAST:event_DU_Dukuh_TFKeyReleased

    private void DU_RT_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_DU_RT_TFKeyReleased
        DU_RT_TF.setBackground(Color.WHITE);
        if (cekAngka(DU_RT_TF.getText()) == 0) {
            DU_RT_TF.setBackground(Color.RED);
        }
    }//GEN-LAST:event_DU_RT_TFKeyReleased

    private void DU_RW_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_DU_RW_TFKeyReleased
        DU_RW_TF.setBackground(Color.WHITE);
        if (cekAngka(DU_RW_TF.getText()) == 0) {
            DU_RW_TF.setBackground(Color.RED);
        }
    }//GEN-LAST:event_DU_RW_TFKeyReleased

    private void DU_Desa_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_DU_Desa_TFKeyReleased
    }//GEN-LAST:event_DU_Desa_TFKeyReleased

    private void DU_Kecamatan_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_DU_Kecamatan_TFKeyReleased
    }//GEN-LAST:event_DU_Kecamatan_TFKeyReleased

    private void DU_jalan_TFActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_DU_jalan_TFActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_DU_jalan_TFActionPerformed

    private void DU_StatusHub_CBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_DU_StatusHub_CBActionPerformed
        DU_jalan_TF.requestFocus();
        // TODO add your handling code here:
    }//GEN-LAST:event_DU_StatusHub_CBActionPerformed

    private void combo_sk_pangkat_terakhir_pangkatBaruActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_combo_sk_pangkat_terakhir_pangkatBaruActionPerformed
        String pangkat = (String) combo_sk_pangkat_terakhir_pangkatBaru.getSelectedItem();
        if (pangkat.matches("Pangkat Pengatur Muda")) {
            PT_GolBr_TF.setText("II/a");
        }
        if (pangkat.matches("Pangkat Pengatur Muda Tingat 1")) {
            PT_GolBr_TF.setText("II/b");
        }
        if (pangkat.matches("Pangkat Pengatur")) {
            PT_GolBr_TF.setText("II/c");
        }
        if (pangkat.matches("Pangkat Pengatur Tingkat 1")) {
            PT_GolBr_TF.setText("II/d");
        }
        if (pangkat.matches("Pangkat Penata Muda")) {
            PT_GolBr_TF.setText("III/a");
        }
        if (pangkat.matches("Pangkat Penata Muda Tingkat 1")) {
            PT_GolBr_TF.setText("III/b");
        }
        if (pangkat.matches("Pangkat Penata")) {
            PT_GolBr_TF.setText("III/c");
        }
        if (pangkat.matches("Pangkat Penata Tingkat 1")) {
            PT_GolBr_TF.setText("III/d");
        }
        if (pangkat.matches("Pangkat Pembina")) {
            PT_GolBr_TF.setText("IV/a");
        }
        if (pangkat.matches("Pangkat Pembina Tingkat 1")) {
            PT_GolBr_TF.setText("IV/b");
        }
        if (pangkat.matches("Pangkat Pembina Utama Muda")) {
            PT_GolBr_TF.setText("IV/c");
        }
        if (pangkat.matches("Pangkat Pembina Utama Madya")) {
            PT_GolBr_TF.setText("IV/d");
        }
        if (pangkat.matches("Pangkat Pembina Utama")) {
            PT_GolBr_TF.setText("IV/e");
        }
        sptkg_pangkat_br.setSelectedItem(pangkat);
        SPTKG_GolBr_TF.setText(PT_GolBr_TF.getText());
        // TODO add your handling code here:
    }//GEN-LAST:event_combo_sk_pangkat_terakhir_pangkatBaruActionPerformed

    private void PT_GajiPokok_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_PT_GajiPokok_TFKeyReleased

        PT_GajiPokok_TF.setBackground(Color.WHITE);
        if (cekAngka(PT_GajiPokok_TF.getText()) == 0) {
            PT_GajiPokok_TF.setBackground(Color.RED);
        }
    }//GEN-LAST:event_PT_GajiPokok_TFKeyReleased

    private void PT_MsKerjaGolThn_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_PT_MsKerjaGolThn_TFKeyReleased
        cekAngka(PT_MsKerjaGolThn_TF.getText());
        // TODO add your handling code here:
    }//GEN-LAST:event_PT_MsKerjaGolThn_TFKeyReleased

    private void PT_MsKerjaGolBln_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_PT_MsKerjaGolBln_TFKeyReleased
        cekAngka(PT_MsKerjaGolBln_TF.getText());
    }//GEN-LAST:event_PT_MsKerjaGolBln_TFKeyReleased

    private void SPTKG_GajiLama_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_SPTKG_GajiLama_TFKeyReleased
        cekAngka(SPTKG_GajiLama_TF.getText());
    }//GEN-LAST:event_SPTKG_GajiLama_TFKeyReleased

    private void SPTKG_GajiBaru_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_SPTKG_GajiBaru_TFKeyReleased
        cekAngka(SPTKG_GajiBaru_TF.getText());
    }//GEN-LAST:event_SPTKG_GajiBaru_TFKeyReleased

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        FrameOperator fp = new FrameOperator();
        this.dispose();
        fp.setVisible(true);
        fp.dataOperator(TP_Nama_Label.getText(), TP_Kode_Label.getText());
        // TODO add your handling code here:
}//GEN-LAST:event_jButton1ActionPerformed

    private void DU_NipLama_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_DU_NipLama_TFKeyReleased
        DU_NipLama_TF.setBackground(Color.WHITE);
        if (cekAngka(DU_NipLama_TF.getText()) == 0) {
            DU_NipLama_TF.setBackground(Color.RED);
        }
    }//GEN-LAST:event_DU_NipLama_TFKeyReleased

    private void DU_NipBaru_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_DU_NipBaru_TFKeyReleased
        DU_NipBaru_TF.setBackground(Color.WHITE);
        if (cekAngka(DU_NipBaru_TF.getText()) == 0) {
            DU_NipBaru_TF.setBackground(Color.RED);
        }
        // TODO add your handling code here:
    }//GEN-LAST:event_DU_NipBaru_TFKeyReleased

    private void CPNS_MasaKerjaTahun_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_CPNS_MasaKerjaTahun_TFKeyReleased
        CPNS_MasaKerjaTahun_TF.setBackground(Color.WHITE);
        if (cekAngka(CPNS_MasaKerjaTahun_TF.getText()) == 0) {
            CPNS_MasaKerjaTahun_TF.setBackground(Color.RED);
        }
    }//GEN-LAST:event_CPNS_MasaKerjaTahun_TFKeyReleased

    private void CPNS_MasaKerjaBulan_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_CPNS_MasaKerjaBulan_TFKeyReleased
        CPNS_MasaKerjaBulan_TF.setBackground(Color.WHITE);
        if (cekAngka(CPNS_MasaKerjaBulan_TF.getText()) == 0) {
            CPNS_MasaKerjaBulan_TF.setBackground(Color.RED);
        }
    }//GEN-LAST:event_CPNS_MasaKerjaBulan_TFKeyReleased

    private void combo_sk_cpns_golonganActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_combo_sk_cpns_golonganActionPerformed

    }//GEN-LAST:event_combo_sk_cpns_golonganActionPerformed

    private void PT_Sekolah_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_PT_Sekolah_TFKeyReleased
    }//GEN-LAST:event_PT_Sekolah_TFKeyReleased

    private void DU_Nama_TFKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_DU_Nama_TFKeyReleased
    }//GEN-LAST:event_DU_Nama_TFKeyReleased

    private void sptkg_pangkat_brActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_sptkg_pangkat_brActionPerformed
        String pangkat = (String) sptkg_pangkat_br.getSelectedItem();
        if (pangkat.matches("Pangkat Pengatur Muda")) {
            SPTKG_GolBr_TF.setText("II/a");
        }
        if (pangkat.matches("Pangkat Pengatur Muda Tingat 1")) {
            SPTKG_GolBr_TF.setText("II/b");
        }
        if (pangkat.matches("Pangkat Pengatur")) {
            SPTKG_GolBr_TF.setText("II/c");
        }
        if (pangkat.matches("Pangkat Pengatur Tingkat 1")) {
            SPTKG_GolBr_TF.setText("II/d");
        }
        if (pangkat.matches("Pangkat Penata Muda")) {
            SPTKG_GolBr_TF.setText("III/a");
        }
        if (pangkat.matches("Pangkat Penata Muda Tingkat 1")) {
            SPTKG_GolBr_TF.setText("III/b");
        }
        if (pangkat.matches("Pangkat Penata")) {
            SPTKG_GolBr_TF.setText("III/c");
        }
        if (pangkat.matches("Pangkat Penata Tingkat 1")) {
            SPTKG_GolBr_TF.setText("III/d");
        }
        if (pangkat.matches("Pangkat Pembina")) {
            SPTKG_GolBr_TF.setText("IV/a");
        }
        if (pangkat.matches("Pangkat Pembina Tingkat 1")) {
            SPTKG_GolBr_TF.setText("IV/b");
        }
        if (pangkat.matches("Pangkat Pembina Utama Muda")) {
            SPTKG_GolBr_TF.setText("IV/c");
        }
        if (pangkat.matches("Pangkat Pembina Utama Madya")) {
            SPTKG_GolBr_TF.setText("IV/d");
        }
        if (pangkat.matches("Pangkat Pembina Utama")) {
            SPTKG_GolBr_TF.setText("IV/e");
        }
    }//GEN-LAST:event_sptkg_pangkat_brActionPerformed

    private void tmt_bkrja_simpanActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tmt_bkrja_simpanActionPerformed
        try {
            Instansi instansi = new Instansi();
            instansi.setIdInstansi(tmt_bkrja_no_instansi.getText());
            instansi.setNm_kepala(tmt_bkrja_nama_kepala.getText());
            instansi.setNip_kepala(tmt_bkrja_nip_kepala.getText());
            instansi.setNmInstansi(tmt_bkrja_nm_instansi.getText());
            instansi.setPangkatGolkepala((String) tmt_bekerja_pangkat.getSelectedItem() + "/  " + tmt_bekerja_golongan.getText());
            PNS pns = new PNS();
            pns.setNama_pns(tmt_bkrja_nama_peg.getText());
            pns.setNip_baru(tmt_bkrja_nip_peg.getText());
            instansi.setPns(pns);
            ControlData.getKoneksi().addTempatBekerja(instansi);
            JOptionPane.showMessageDialog(rootPane, "data instansi berhasil disimpan");
            tmt_bkrja_simpan.setEnabled(false);
            tmt_bkrja_next.setEnabled(true);
        } catch (Exception ex) {
            Logger.getLogger(TambahPegawai.class.getName()).log(Level.SEVERE, null, ex);
        }
    }//GEN-LAST:event_tmt_bkrja_simpanActionPerformed

    private void tmt_bkrja_nextActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tmt_bkrja_nextActionPerformed
        Tab_PNS.setEnabledAt(5, true);
        Tab_PNS.setSelectedIndex(5);
    }//GEN-LAST:event_tmt_bkrja_nextActionPerformed

    private void tmt_bekerja_pangkatActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tmt_bekerja_pangkatActionPerformed
        String pangkat = (String) tmt_bekerja_pangkat.getSelectedItem();
        if (pangkat.matches("Pangkat Pengatur Muda")) {
            tmt_bekerja_golongan.setText("II/a");
        }
        if (pangkat.matches("Pangkat Pengatur Muda Tingat 1")) {
            tmt_bekerja_golongan.setText("II/b");
        }
        if (pangkat.matches("Pangkat Pengatur")) {
            tmt_bekerja_golongan.setText("II/c");
        }
        if (pangkat.matches("Pangkat Pengatur Tingkat 1")) {
            tmt_bekerja_golongan.setText("II/d");
        }
        if (pangkat.matches("Pangkat Penata Muda")) {
            tmt_bekerja_golongan.setText("III/a");
        }
        if (pangkat.matches("Pangkat Penata Muda Tingkat 1")) {
            tmt_bekerja_golongan.setText("III/b");
        }
        if (pangkat.matches("Pangkat Penata")) {
            tmt_bekerja_golongan.setText("III/c");
        }
        if (pangkat.matches("Pangkat Penata Tingkat 1")) {
            tmt_bekerja_golongan.setText("III/d");
        }
        if (pangkat.matches("Pangkat Pembina")) {
            tmt_bekerja_golongan.setText("IV/a");
        }
        if (pangkat.matches("Pangkat Pembina Tingkat 1")) {
            tmt_bekerja_golongan.setText("IV/b");
        }
        if (pangkat.matches("Pangkat Pembina Utama Muda")) {
            tmt_bekerja_golongan.setText("IV/c");
        }
        if (pangkat.matches("Pangkat Pembina Utama Madya")) {
            tmt_bekerja_golongan.setText("IV/d");
        }
        if (pangkat.matches("Pangkat Pembina Utama")) {
            tmt_bekerja_golongan.setText("IV/e");
        }
    }//GEN-LAST:event_tmt_bekerja_pangkatActionPerformed

    private int cekAngka(String isian) {
        if (!isian.matches("[0-9]*")) {
            JOptionPane.showMessageDialog(rootPane, "Masukkan harus angka..!!");
            return 0;
        }
        return 1;
    }

    public static String formatCurr(double curr) { //menambahkan uang dengan koma, titik etc.
        DecimalFormat df = (DecimalFormat) DecimalFormat.getCurrencyInstance();
        DecimalFormatSymbols dfs = df.getDecimalFormatSymbols();
        dfs.setMonetaryDecimalSeparator(',');
        dfs.setGroupingSeparator('.');
        dfs.setCurrencySymbol("");
        df.setDecimalFormatSymbols(dfs);
        String scurr = "n/a";
        try {
            scurr = df.format(curr);
        } catch (IllegalArgumentException iae) {
        }
        return scurr;
    }

    public void sebarkanNama(String nama) {
        CPNS_nama_TF.setText(nama);
        PT_Nama_TF.setText(nama);
        SPTKG_Nama_TF.setText(nama);
        Karpeg_Nama_TF.setText(nama);
        tmt_bkrja_nama_peg.setText(nama);
    }

    public void sebarkanNIPLama(String nipLama) {
        CPNS_NipLama_TF.setText(nipLama);
        PT_NipLama_TF.setText(nipLama);
        SPTKG_NipLama_TF.setText(nipLama);
        Karpeg_NipLama_TF.setText(nipLama);
    }

    public void sebarkanNIPBaru(String nipBaru) {
        CPNS_NipBaru_TF.setText(nipBaru);
        PT_NipBaru_TF.setText(nipBaru);
        SPTKG_NipBaru_TF.setText(nipBaru);
        Karpeg_NipBaru_TF.setText(nipBaru);
        tmt_bkrja_nip_peg.setText(nipBaru);
    }

    public void sebarkanKeKK() {
        KK_Alamat_TF.setText(DU_Alamat_TF.getText());
        KK_RT_TF.setText(DU_RT_TF.getText());
        KK_RW_TF.setText(DU_RW_TF.getText());
        KK_KelDesa_TF.setText(DU_Desa_TF.getText());
        KK_Kec_TF.setText(DU_Kecamatan_TF.getText());
        KK_KabKota_TF.setText(DU_KabKota_TF.getText());
    }

    public void sebarkanTTL() {
        Date tanggal = DU_TglLhr_Date.getDate();
        String tempat = DU_TmptLhr_Date.getText();

        CPNS_TglLhr_Date.setDate(tanggal);
        CPNS_TmpLhr_TF.setText(tempat);
        PT_TmpLhr_TF.setText(tempat);
        PT_TglLhr_Date.setDate(tanggal);
        Karpeg_TglLhr_Date.setDate(tanggal);
    }

    public void sebarkanProfesidanSekolah() {
        PT_Profesi_TF.setText(CPNS_Profesi_TF.getText());
        PT_Sekolah_TF.setText(CPNS_Sekolah_TF.getText());
        SPTKG_Sekolah_TF.setText(CPNS_Sekolah_TF.getText());
    }

    public void sebarkanPangkatGolBr() {
        String pangkatBaru = (String) combo_sk_pangkat_terakhir_pangkatBaru.getSelectedItem();
        sptkg_pangkat_br.setSelectedItem(pangkatBaru);
        SPTKG_GolBr_TF.setText(PT_GolBr_TF.getText());
    }

    public void isiNama(String nama, String id) {
        TP_Nama_Label.setText(nama);
        TP_Kode_Label.setText(id);
    }

    private void updateTerusTabelnyaKK(String idSuratKK) {
        try {
            List<AnggotaKeluarga> listAk = Controller.ControlData.getKoneksi().SearchAllAnggota(idSuratKK);
            TampilAnggotaKeluarga model = new TampilAnggotaKeluarga(listAk);
            KK_TabelAnggotaKel_Table.setModel(model);
        } catch (Exception ex) {
            Logger.getLogger(TambahPegawai.class.getName()).log(Level.SEVERE, null, ex);
        }
    }

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                try {
                    new TambahPegawai().setVisible(true);
                } catch (Exception ex) {
                    Logger.getLogger(TambahPegawai.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JComboBox AK_Agama_Combo;
    private javax.swing.JButton AK_Batal_button;
    private javax.swing.JComboBox AK_HubKeluarga_Combo;
    private javax.swing.JComboBox AK_JK_Combo;
    private javax.swing.JComboBox AK_Kewarganegaraan_Combo;
    private javax.swing.JTextField AK_NIK_TF;
    private javax.swing.JTextField AK_NamaAyah_TF;
    private javax.swing.JTextField AK_NamaIbu_TF;
    private javax.swing.JTextField AK_Nama_TF;
    private javax.swing.JTextField AK_NoKitasKitap_TF;
    private javax.swing.JTextField AK_NoPaspor_TF;
    private javax.swing.JComboBox AK_Pekerjaan_Combo;
    private javax.swing.JTextField AK_Pekerjaan_TF;
    private javax.swing.JComboBox AK_Pendidikan_Combo;
    private javax.swing.JButton AK_Simpan_button;
    private javax.swing.JComboBox AK_StatusKawin_Combo;
    private com.toedter.calendar.JDateChooser AK_TanggalLahir_Date;
    private javax.swing.JTextField AK_TempatLahir_TF;
    private javax.swing.JLabel Alamat;
    private javax.swing.JLabel Alamat1;
    private javax.swing.JLabel Alamat10;
    private javax.swing.JLabel Alamat2;
    private javax.swing.JLabel Alamat3;
    private javax.swing.JLabel Alamat4;
    private javax.swing.JLabel Alamat5;
    private javax.swing.JLabel Alamat6;
    private javax.swing.JLabel Alamat7;
    private javax.swing.JLabel Alamat8;
    private javax.swing.JLabel Alamat9;
    private javax.swing.JTextField CPNS_Berijazah_TF;
    private javax.swing.JTextField CPNS_MasaKerjaBulan_TF;
    private javax.swing.JTextField CPNS_MasaKerjaTahun_TF;
    private javax.swing.JTextField CPNS_NipBaru_TF;
    private javax.swing.JTextField CPNS_NipLama_TF;
    private javax.swing.JTextField CPNS_NoSurat_TF;
    private javax.swing.JTextField CPNS_Profesi_TF;
    private javax.swing.JTextField CPNS_Sekolah_TF;
    private com.toedter.calendar.JDateChooser CPNS_TMT_cpns;
    private com.toedter.calendar.JDateChooser CPNS_TglLhr_Date;
    private com.toedter.calendar.JDateChooser CPNS_TglSurat_Date;
    private javax.swing.JTextField CPNS_TmpBuatSurat_TF;
    private javax.swing.JTextField CPNS_TmpLhr_TF;
    private javax.swing.JTextField CPNS_nama_TF;
    private javax.swing.JButton CPNS_next_button;
    private javax.swing.JButton CPNS_simpan_button;
    private javax.swing.JPanel DU;
    private javax.swing.JTextField DU_Alamat_TF;
    private javax.swing.JTextField DU_Desa_TF;
    private javax.swing.JTextField DU_Dukuh_TF;
    private javax.swing.JComboBox DU_JenisKelamin_CB;
    private javax.swing.JTextField DU_KabKota_TF;
    private javax.swing.JTextField DU_Kecamatan_TF;
    private javax.swing.JTextField DU_Nama_TF;
    private javax.swing.JTextField DU_NipBaru_TF;
    private javax.swing.JTextField DU_NipLama_TF;
    private javax.swing.JTextField DU_RT_TF;
    private javax.swing.JTextField DU_RW_TF;
    private javax.swing.JButton DU_Simpan_button;
    private javax.swing.JComboBox DU_StatusHub_CB;
    private com.toedter.calendar.JDateChooser DU_TglLhr_Date;
    private javax.swing.JTextField DU_TmptLhr_Date;
    private javax.swing.JTextField DU_jalan_TF;
    private javax.swing.JButton DU_next_button;
    private javax.swing.JPanel KK;
    private javax.swing.JTextField KK_Alamat_TF;
    private javax.swing.JInternalFrame KK_Internal;
    private javax.swing.JTextField KK_KabKota_TF;
    private javax.swing.JTextField KK_Kec_TF;
    private javax.swing.JTextField KK_KelDesa_TF;
    private javax.swing.JTextField KK_KodePos_TF;
    private javax.swing.JTextField KK_NamaKK_TF;
    private javax.swing.JTextField KK_NoKK_TF;
    private javax.swing.JTextField KK_Provinsi_TF;
    private javax.swing.JTextField KK_RT_TF;
    private javax.swing.JTextField KK_RW_TF;
    private javax.swing.JButton KK_SimpanKK_button;
    private javax.swing.JTable KK_TabelAnggotaKel_Table;
    private javax.swing.JButton KK_TambahAnggota_button;
    private javax.swing.JTextField Karpeg_Nama_TF;
    private javax.swing.JTextField Karpeg_NipBaru_TF;
    private javax.swing.JTextField Karpeg_NipLama_TF;
    private javax.swing.JTextField Karpeg_NoSurat_TF;
    private com.toedter.calendar.JDateChooser Karpeg_TMT_Date;
    private com.toedter.calendar.JDateChooser Karpeg_TglLhr_Date;
    private javax.swing.JButton Karpeg_next_button;
    private javax.swing.JButton Karpeg_simpan_button;
    private javax.swing.JTextField PT_GajiPokok_TF;
    private javax.swing.JTextField PT_GolBr_TF;
    private javax.swing.JTextField PT_MsKerjaGolBln_TF;
    private javax.swing.JTextField PT_MsKerjaGolThn_TF;
    private javax.swing.JTextField PT_Nama_TF;
    private javax.swing.JTextField PT_NipBaru_TF;
    private javax.swing.JTextField PT_NipLama_TF;
    private javax.swing.JTextField PT_NoSurat_TF;
    private javax.swing.JTextField PT_Pend_TF;
    private javax.swing.JTextField PT_Profesi_TF;
    private javax.swing.JTextField PT_Sekolah_TF;
    private com.toedter.calendar.JDateChooser PT_TglLhr_Date;
    private javax.swing.JTextField PT_TmpLhr_TF;
    private com.toedter.calendar.JDateChooser PT_TmtBr_TF;
    private javax.swing.JButton PT_next_button;
    private javax.swing.JButton PT_simpan_button;
    private javax.swing.JPanel SK_CPNS;
    private javax.swing.JPanel SK_Karpeg;
    private javax.swing.JPanel SK_PangkatTerakhir;
    private javax.swing.JTextField SN_NamaIstri_TF;
    private javax.swing.JTextField SN_NamaSuami_TF;
    private javax.swing.JTextField SN_NoSurat_TF;
    private com.toedter.calendar.JDateChooser SN_TglNikah_Date;
    private javax.swing.JButton SN_next_button;
    private javax.swing.JButton SN_simpan_button;
    private javax.swing.JTextField SPTKG_GajiBaru_TF;
    private javax.swing.JTextField SPTKG_GajiLama_TF;
    private javax.swing.JTextField SPTKG_GolBr_TF;
    private javax.swing.JTextField SPTKG_Nama_TF;
    private javax.swing.JTextField SPTKG_NipBaru_TF;
    private javax.swing.JTextField SPTKG_NipLama_TF;
    private javax.swing.JTextField SPTKG_NoSurat_TF;
    private javax.swing.JTextField SPTKG_Sekolah_TF;
    private javax.swing.JPanel SPTKG_Terakhir;
    private com.toedter.calendar.JDateChooser SPTKG_TglSurat_TF;
    private javax.swing.JTextField SPTKG_TmpSurat_TF;
    private com.toedter.calendar.JDateChooser SPTKG_TmtBr_TF;
    private javax.swing.JButton SPTKG_next_button;
    private javax.swing.JButton SPTKG_simpan_button;
    private javax.swing.JPanel Surat_Nikah;
    private javax.swing.JLabel TP_Kode_Label;
    private javax.swing.JLabel TP_Nama_Label;
    private javax.swing.JTabbedPane Tab_PNS;
    private javax.swing.JComboBox combo_sk_cpns_golongan;
    private javax.swing.JComboBox combo_sk_pangkat_terakhir_pangkatBaru;
    private javax.swing.JButton jButton1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel100;
    private javax.swing.JLabel jLabel101;
    private javax.swing.JLabel jLabel102;
    private javax.swing.JLabel jLabel103;
    private javax.swing.JLabel jLabel104;
    private javax.swing.JLabel jLabel105;
    private javax.swing.JLabel jLabel106;
    private javax.swing.JLabel jLabel107;
    private javax.swing.JLabel jLabel108;
    private javax.swing.JLabel jLabel109;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel31;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel33;
    private javax.swing.JLabel jLabel34;
    private javax.swing.JLabel jLabel35;
    private javax.swing.JLabel jLabel36;
    private javax.swing.JLabel jLabel37;
    private javax.swing.JLabel jLabel38;
    private javax.swing.JLabel jLabel39;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel42;
    private javax.swing.JLabel jLabel43;
    private javax.swing.JLabel jLabel44;
    private javax.swing.JLabel jLabel45;
    private javax.swing.JLabel jLabel46;
    private javax.swing.JLabel jLabel47;
    private javax.swing.JLabel jLabel48;
    private javax.swing.JLabel jLabel49;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel50;
    private javax.swing.JLabel jLabel51;
    private javax.swing.JLabel jLabel52;
    private javax.swing.JLabel jLabel53;
    private javax.swing.JLabel jLabel54;
    private javax.swing.JLabel jLabel55;
    private javax.swing.JLabel jLabel56;
    private javax.swing.JLabel jLabel57;
    private javax.swing.JLabel jLabel58;
    private javax.swing.JLabel jLabel59;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel60;
    private javax.swing.JLabel jLabel61;
    private javax.swing.JLabel jLabel62;
    private javax.swing.JLabel jLabel63;
    private javax.swing.JLabel jLabel64;
    private javax.swing.JLabel jLabel65;
    private javax.swing.JLabel jLabel66;
    private javax.swing.JLabel jLabel67;
    private javax.swing.JLabel jLabel68;
    private javax.swing.JLabel jLabel69;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel70;
    private javax.swing.JLabel jLabel71;
    private javax.swing.JLabel jLabel72;
    private javax.swing.JLabel jLabel73;
    private javax.swing.JLabel jLabel74;
    private javax.swing.JLabel jLabel75;
    private javax.swing.JLabel jLabel76;
    private javax.swing.JLabel jLabel77;
    private javax.swing.JLabel jLabel78;
    private javax.swing.JLabel jLabel79;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel80;
    private javax.swing.JLabel jLabel81;
    private javax.swing.JLabel jLabel82;
    private javax.swing.JLabel jLabel83;
    private javax.swing.JLabel jLabel84;
    private javax.swing.JLabel jLabel85;
    private javax.swing.JLabel jLabel86;
    private javax.swing.JLabel jLabel87;
    private javax.swing.JLabel jLabel88;
    private javax.swing.JLabel jLabel89;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JLabel jLabel90;
    private javax.swing.JLabel jLabel91;
    private javax.swing.JLabel jLabel92;
    private javax.swing.JLabel jLabel93;
    private javax.swing.JLabel jLabel94;
    private javax.swing.JLabel jLabel95;
    private javax.swing.JLabel jLabel96;
    private javax.swing.JLabel jLabel97;
    private javax.swing.JLabel jLabel98;
    private javax.swing.JLabel jLabel99;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JLabel nama;
    private javax.swing.JLabel nip_br;
    private javax.swing.JLabel nip_br1;
    private javax.swing.JComboBox sptkg_pangkat_br;
    private javax.swing.JPanel tempat_bekerja;
    private javax.swing.JLabel time;
    private javax.swing.JTextField tmt_bekerja_golongan;
    private javax.swing.JComboBox tmt_bekerja_pangkat;
    private javax.swing.JTextField tmt_bkrja_nama_kepala;
    private javax.swing.JTextField tmt_bkrja_nama_peg;
    private javax.swing.JButton tmt_bkrja_next;
    private javax.swing.JTextField tmt_bkrja_nip_kepala;
    private javax.swing.JTextField tmt_bkrja_nip_peg;
    private javax.swing.JTextField tmt_bkrja_nm_instansi;
    private javax.swing.JTextField tmt_bkrja_no_instansi;
    private javax.swing.JButton tmt_bkrja_simpan;
    // End of variables declaration//GEN-END:variables

    private void emptyAnggota() {
        AK_Nama_TF.setText("");
        AK_JK_Combo.setSelectedItem("-");
        AK_TempatLahir_TF.setText("");
        AK_JK_Combo.setSelectedItem("-");
        AK_Agama_Combo.setSelectedItem("-");
        AK_Pendidikan_Combo.setSelectedItem("-");
        AK_StatusKawin_Combo.setSelectedItem("-");
        AK_HubKeluarga_Combo.setSelectedItem("-");
        AK_Kewarganegaraan_Combo.setSelectedItem("-");
        AK_NoPaspor_TF.setText("");
        AK_NoKitasKitap_TF.setText("");
        AK_NamaAyah_TF.setText("");
        AK_NamaIbu_TF.setText("");
    }
}
